X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrchr.c;fp=functions%2Fstring%2Fstrchr.c;h=fb169049e22171e7f7fb9200c44fdf3ebbe653ef;hb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;hp=0000000000000000000000000000000000000000;hpb=34b76b9d65477be9c7d35cd254f44be85b3786b4;p=pdclib diff --git a/functions/string/strchr.c b/functions/string/strchr.c new file mode 100644 index 0000000..fb16904 --- /dev/null +++ b/functions/string/strchr.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 char * strchr( const char * s, int c ) { /* TODO */ }; +char * strchr( char * s, int c ) { /* TODO */ }; + +// ---------------------------------------------------------------------------- +// Standard C + +char * strchr( const char * s, int c ) { /* TODO */ };