X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fmemchr.c;fp=functions%2Fstring%2Fmemchr.c;h=83d6f1702c5fd3fc190d9082c4f577892ea604dc;hb=dcc8a8e99f69e090a03b7b868443addbc0817820;hp=0000000000000000000000000000000000000000;hpb=e794d9887cd8f94befd7861e39eccf46666c89fe;p=pdclib.old diff --git a/functions/string/memchr.c b/functions/string/memchr.c new file mode 100644 index 0000000..83d6f17 --- /dev/null +++ b/functions/string/memchr.c @@ -0,0 +1,17 @@ +// ---------------------------------------------------------------------------- +// $Id$ +// ---------------------------------------------------------------------------- +// Public Domain C Library - http://pdclib.sourceforge.net +// This code is Public Domain. Use, modify, and redistribute at will. +// ---------------------------------------------------------------------------- + +// ---------------------------------------------------------------------------- +// C++ + +const void * memchr( const void * s, int c, size_t n ) { /* TODO */ }; +void * memchr( void * s, int c, size_t n ) { /* TODO */ }; + +// ---------------------------------------------------------------------------- +// Standard C + +void * memchr( const void * s, int c, size_t n ) { /* TODO */ };