Home | History | Annotate | Download | only in import

Lines Matching defs:open

0 /* Open a descriptor to a file.
25 /* Get the original definition of open. It might be defined as a macro. */
36 return open (filename, flags, mode);
59 open (const char *filename, int flags, ...)
87 file types that require non-blocking handling in open().
107 - if O_CREAT is specified, open() must fail because of the semantics
109 - if O_WRONLY or O_RDWR is specified, open() must fail because POSIX
110 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html>
113 - if O_CREAT is specified, open() must fail since open() cannot create
115 - if O_WRONLY or O_RDWR is specified, open() must fail because the
151 /* Implementing fchdir and fdopendir requires the ability to open a
152 directory file descriptor. If open doesn't support that (as on
165 fd = open ("/dev/null", flags, mode);
183 If the named file without the slash is not a directory, open() must fail
187 /* We know len is positive, since open did not fail with ENOENT. */