X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrerror.c;h=252671413656e57060d022a22cf1d93ce9e41f0a;hp=48dba0df56a1877927f094d3712189ca25633d43;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/string/strerror.c b/functions/string/strerror.c index 48dba0d..2526714 100644 --- a/functions/string/strerror.c +++ b/functions/string/strerror.c @@ -6,3 +6,10 @@ // ---------------------------------------------------------------------------- char * strerror( int errcode ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + if (errnum == 0) return ("No error has occurred\n"); + else return ("An error has occurred\n"); +} +*/