Displaying 3 results from an estimated 3 matches for "c4f9ae2".
2011 Aug 29
0
[PATCH] Add mempcpy() as wrapper around memcpy
...onst void *, size_t);
+__extern void *mempcpy(void *, const void *, size_t);
__extern void *memmove(void *, const void *, size_t);
__extern void *memset(void *, int, size_t);
__extern void *memmem(const void *, size_t, const void *, size_t);
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index c4f9ae2..d024f31 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -29,7 +29,7 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \
pselect.o ppoll.o \
brk.o sbrk.o malloc.o realloc.o calloc.o \
mmap.o shm_open.o shm_unlink.o \
- memcpy.o memcmp.o memset.o memccpy.o memmem.o memsw...
2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
...-23,6 +23,7 @@ struct _IO_dir {
typedef struct _IO_dir DIR;
__extern DIR *opendir(const char *);
+__extern DIR *fdopendir(int);
__extern struct dirent *readdir(DIR *);
__extern int closedir(DIR *);
static __inline__ int dirfd(DIR * __d)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index c4f9ae2..48575a5 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -42,7 +42,8 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \
seteuid.o setegid.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 alphaso...
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline.
This patchset introduces the ability to kinit to execute scripts or
executable files present in in the initramfs before switching over to
the root filesystem.
It is implemented by first implementing scandir() and alphasort() as
present in POSIX.1-2008 in klibc itself, and then using that as the
basis for iterating and executing files via a run_scripts()