Home | History | Annotate | Download | only in cups

Lines Matching defs:file

2  * Temp file utilities for CUPS.
9 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 * which should have been included with this file. If this file is
13 * This file is subject to the Apple OS-Developed Software exception.
32 * 'cupsTempFd()' - Creates a temporary file.
35 * The temporary file is opened for reading and writing.
38 int /* O - New file descriptor or -1 on error */
42 int fd; /* File descriptor for temp file */
114 * Open the file in "exclusive" mode, making sure that we don't
115 * stomp on an existing file or someone's symlink crack...
135 * Return the file descriptor...
166 * 'cupsTempFile2()' - Creates a temporary CUPS file.
169 * The temporary file is opened for writing.
174 cups_file_t * /* O - CUPS file or @code NULL@ on error */
178 cups_file_t *file; /* CUPS file */
179 int fd; /* File descriptor */
184 else if ((file = cupsFileOpenFd(fd, "w")) == NULL)
191 return (file);