Changeset 244d6fd in mainline
- Timestamp:
- 2011-06-26T17:59:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8b5fb5e
- Parents:
- 3acff69
- Location:
- uspace/lib/posix
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/signal.c
r3acff69 r244d6fd 56 56 } 57 57 58 int posix_sigaddset(posix_sigset_t *set, int signo) 59 { 60 // TODO 61 not_implemented(); 62 } 63 58 64 int posix_sigemptyset(posix_sigset_t *set) 59 65 { -
uspace/lib/posix/signal.h
r3acff69 r244d6fd 195 195 extern int posix_kill(posix_pid_t pid, int sig); 196 196 197 extern int posix_sigaddset(posix_sigset_t *set, int signo); 197 198 extern int posix_sigemptyset(posix_sigset_t *set); 198 199 extern int posix_sigprocmask(int how, const posix_sigset_t *restrict set, … … 213 214 #define raise posix_raise 214 215 #define kill posix_kill 216 #define sigaddset posix_sigaddset 215 217 #define sigemptyset posix_sigemptyset 216 218 #define sigprocmask posix_sigprocmask -
uspace/lib/posix/unistd.c
r3acff69 r244d6fd 42 42 /* Array of environment variable strings (NAME=VALUE). */ 43 43 char **posix_environ = NULL; 44 45 /** 46 * Get current user name. 47 */ 48 char *posix_getlogin(void) 49 { 50 // TODO 51 return (char *) "user"; 52 } 53 54 /** 55 * Get current user name. 56 * 57 * @param name Pointer to a user supplied buffer. 58 * @param namesize Length of the buffer. 59 * @return 60 */ 61 int posix_getlogin_r(char *name, size_t namesize) 62 { 63 // TODO 64 not_implemented(); 65 } 44 66 45 67 /** -
uspace/lib/posix/unistd.h
r3acff69 r244d6fd 48 48 extern int getopt(int, char * const [], const char *); 49 49 50 /* Environment al Variables*/50 /* Environment */ 51 51 extern char **posix_environ; 52 53 extern char *posix_getlogin(void); 54 extern int posix_getlogin_r(char *name, size_t namesize); 52 55 53 56 /* Identifying Terminals */ … … 126 129 #ifndef LIBPOSIX_INTERNAL 127 130 #define environ posix_environ 131 #define getlogin posix_getlogin 132 #define getlogin_r posix_getlogin_r 128 133 129 134 #define isatty posix_isatty
Note:
See TracChangeset
for help on using the changeset viewer.