X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrerror.c;h=252671413656e57060d022a22cf1d93ce9e41f0a;hb=e5456e3c2697c4e17fc9aa3439f2e305517b4d96;hp=48dba0df56a1877927f094d3712189ca25633d43;hpb=dcc8a8e99f69e090a03b7b868443addbc0817820;p=pdclib.old 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"); +} +*/