Changeset 52acfab in mainline for uspace/lib/posix/include/posix/unistd.h
- Timestamp:
- 2019-05-28T19:24:14Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77de449e
- Parents:
- af5037d (diff), bebd154 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 19:24:14)
- git-committer:
- GitHub <noreply@…> (2019-05-28 19:24:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/unistd.h
raf5037d r52acfab 46 46 /* Process Termination */ 47 47 #define _exit exit 48 49 /* Standard Streams */ 50 #define STDIN_FILENO (fileno(stdin)) 51 #define STDOUT_FILENO (fileno(stdout)) 52 #define STDERR_FILENO (fileno(stderr)) 53 54 #define F_OK 0 /* Test for existence. */ 55 #define X_OK 1 /* Test for execute permission. */ 56 #define W_OK 2 /* Test for write permission. */ 57 #define R_OK 4 /* Test for read permission. */ 58 59 __C_DECLS_BEGIN; 48 60 49 61 extern char *optarg; … … 106 118 #endif 107 119 108 /* Standard Streams */109 #undef STDIN_FILENO110 #define STDIN_FILENO (fileno(stdin))111 #undef STDOUT_FILENO112 #define STDOUT_FILENO (fileno(stdout))113 #undef STDERR_FILENO114 #define STDERR_FILENO (fileno(stderr))115 116 120 /* File Accessibility */ 117 #undef F_OK118 #undef X_OK119 #undef W_OK120 #undef R_OK121 #define F_OK 0 /* Test for existence. */122 #define X_OK 1 /* Test for execute permission. */123 #define W_OK 2 /* Test for write permission. */124 #define R_OK 4 /* Test for read permission. */125 121 extern int access(const char *path, int amode); 126 122 … … 171 167 extern unsigned int alarm(unsigned int); 172 168 169 __C_DECLS_END; 170 173 171 #endif /* POSIX_UNISTD_H_ */ 174 172
Note:
See TracChangeset
for help on using the changeset viewer.