File: strerror.cc

package info (click to toggle)
grap 1.39-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 820 kB
  • ctags: 584
  • sloc: cpp: 3,024; yacc: 1,063; lex: 1,004; makefile: 187; sh: 168; awk: 5
file content (8 lines) | stat: -rw-r--r-- 136 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
#include <stdio.h>

char *strerror(int errnum) {
    static char rv[100];

    sprintf(rv, "error number %d", errnum);
    return rv;
}