diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-06 21:59:20 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-06 21:59:29 -0400 |
commit | 5adf5344bfa4388a70c054308447c64c06b98265 (patch) | |
tree | 4fc93d7a352a359a53d8dd464d385a43efccb52c /src/lib/libc/include/unistd.h | |
parent | 0b4270f30b7746d3400513e2c16ff833e6fbeb90 (diff) | |
parent | 473afa3b7e826063b66e579cfbebaa99ee4602ab (diff) |
Fix conflicts
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/lib/libc/include/unistd.h')
-rw-r--r-- | src/lib/libc/include/unistd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/libc/include/unistd.h b/src/lib/libc/include/unistd.h index b50fc12..fa7f951 100644 --- a/src/lib/libc/include/unistd.h +++ b/src/lib/libc/include/unistd.h @@ -38,6 +38,16 @@ #define STDERR_FILENO 2 /* + * POSIX open system call + * + * @path: Path to open + * @flags: O_ flags + * + * Returns the file descriptor on success + */ +int open(const char *path, int flags); + +/* * POSIX write system call * * @fd: File descriptor to write at |