search for: a0e440d

Displaying 2 results from an estimated 2 matches for "a0e440d".

Did you mean: a0.440
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
...npt(int); + +static __inline__ int posix_openpt(int __mode) +{ + __extern int open(const char *, int, ...); + + __mode &= ~(O_CREAT | O_TMPFILE); + return open("/dev/ptmx", __mode); +} static __inline__ int grantpt(int __fd) { diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index a0e440d..eba6add 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -52,7 +52,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \ getenv.o setenv.o putenv.o __put_env.o unsetenv.o \ clearenv.o nullenv.o \ getopt.o getopt_long.o readdir.o scandir.o alphasort.o remove.o \ - syslog...
2016 Jan 15
0
[klibc:master] Remove open_cloexec()
...old", O_RDONLY | O_DIRECTORY, 0); + root_fd = open("/", O_RDONLY|O_DIRECTORY|O_CLOEXEC, 0); + old_fd = open("/old", O_RDONLY|O_DIRECTORY|O_CLOEXEC, 0); if (root_fd < 0 || old_fd < 0) return -errno; diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index f797166..a0e440d 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -27,7 +27,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \ setpgrp.o getpgrp.o daemon.o \ printf.o vprintf.o fprintf.o vfprintf.o perror.o \ statfs.o fstatfs.o umount.o \ - creat.o open.o openat.o open_cloexec.o \ +...