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