Copyright (C) 2000-2012 |
Manpages TEMPFILESection: User Commands (1)Updated: 24 August 1997 Index Return to Main Contents NAMEtempfile - create a temporary file in a safe mannerSYNOPSYStempfile [-d DIR] [-p STRING] [-m MODE] [-n FILE] [--directory=DIR] [--prefix=STRING] [--mode=MODE] [--name=FILE] [--help] [--version]DESCRIPTIONtempfile creates a temporary file in a safe manner. It uses tempnam(3) to choose the name and opens it with O_RDWR | O_CREAT | O_EXCL. The filename is printed on standard output. The directory to place the file is searched for in the following order:
Debian packages using tempfile in maintainer scripts must depend on debianutils >= 1.6. OPTIONS
RETURN VALUESAn exit status of 0 means the temporary file was created succesfully. Any other exit status indicates an error.BUGSExclusive creation is not guaranteed when creating files on NFS partitions.SEE ALSOtempnam(3)
IndexThis document was created by man2html, using the manual pages. Time: 06:23:34 GMT, April 24, 2024 |