search for: memrchr

Displaying 20 results from an estimated 142 matches for "memrchr".

Did you mean: memchr
2005 Jan 06
0
[PATCH] memchr and memrchr
- memchr() needs to increment pointer or it's just a busy loop (unless c matches the first character in s) - add memrchr.c --- klibc-0.194/klibc/memchr.c.orig 2005-01-06 23:08:33.703355840 -0700 +++ klibc-0.194/klibc/memchr.c 2005-01-06 23:04:26.436946048 -0700 @@ -12,6 +12,7 @@ while ( n-- ) { if ( *sp == (unsigned char)c ) return (void *)sp; + sp++; } return NULL; --- klibc-0.194/klibc/me...
2014 Apr 09
0
[klibc:master] fwrite: use memrchr() to find the final ' \n' in _IOLBF mode
.../?p=libs/klibc/klibc.git;a=commit;h=a51893a6d52a8cdf247cb1bd10dd8987d4d7eb49 Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Wed, 9 Apr 2014 16:51:10 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Wed, 9 Apr 2014 16:51:10 -0700 [klibc] fwrite: use memrchr() to find the final '\n' in _IOLBF mode In line buffered mode, we need to split the write at the final '\n' (which usually, but not always, is the last character in the string.) Use memrchr() instead of open-coding it. Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>...
2011 Aug 29
0
[PATCH] Add mempcpy() as wrapper around memcpy
..., 9 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/mempcpy.c diff --git a/usr/include/string.h b/usr/include/string.h index 0c8c046..270fddd 100644 --- a/usr/include/string.h +++ b/usr/include/string.h @@ -13,6 +13,7 @@ __extern void *memchr(const void *, int, size_t); __extern void *memrchr(const void *, int, size_t); __extern int memcmp(const void *, const void *, size_t); __extern void *memcpy(void *, const 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); __e...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 May 13
3
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2010 Dec 07
0
builder-debian febootstrap FAILED configure step af9f9305a0a48829392a57d24aee30978b449d1d
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Mar 22
1
builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2010 Dec 07
0
builder-ubuntu febootstrap success 2dfc659c33c5ceb298e8027e219547416b286661
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2010 Dec 10
0
builder-ubuntu febootstrap success 27a911ca193ad5a56a7afac4f6100b3a3f732680
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2010 Dec 07
0
builder-debian febootstrap success af9f9305a0a48829392a57d24aee30978b449d1d
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2010 Dec 10
0
builder-debian febootstrap success 27a911ca193ad5a56a7afac4f6100b3a3f732680
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Mar 15
0
builder-ubuntu febootstrap success 91819fa0e61ee0b41f2342fd5149b385146bb954
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Mar 15
0
builder-debian febootstrap success 91819fa0e61ee0b41f2342fd5149b385146bb954
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Mar 18
0
builder-debian febootstrap success 48ba44a6751f5455a3afb37fb5809abc507696e1
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...
2011 Mar 22
0
builder-ubuntu febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...tl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch open openat openat-die openat-safer realloc-posix rmdir safe-read safe-write same-inode save-cwd size_max ssize_t stat stdarg stdbool stddef stdint stdio stdlib strdup-posix strerror stri...