search for: sys_creat

Displaying 1 result from an estimated 1 matches for "sys_creat".

2006 Sep 28
1
creat isn't exported
...c/include/ -r /usr/lib/klibc/include/zlib.h: descriptors are obtained from calls like open, dup, creat, pipe or /usr/lib/klibc/include/asm/unistd.h:#define __NR_creat 8 /usr/lib/klibc/include/asm-i386/unistd.h:#define __NR_creat 8 /usr/lib/klibc/include/linux/syscalls.h:asmlinkage long sys_creat(const char __user *pathname, int mode); creat.c on usr/klibc exists, but it isn't compiled. Activating it in Kbuild allows the rtfs w/ creat to link, but it still gives a warning about creat not being declared. At least a #define creat(p, m) open(p, O_..., m) would be nice, for compatibility...