DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦6546f353d⟧ TextFile

    Length: 435 (0x1b3)
    Types: TextFile
    Names: »std.c«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦de6342db5⟧ »./fgrep-1.0.tar.Z« 
        └─⟦571f2592a⟧ 
            └─⟦this⟧ »fgrep-1.0/std.c« 

TextFile

/* std.c - compensate for a few missing library functions.
   In the Public Domain; written by Mike Haertel. */

#include "std.h"
#include "unix.h"

#ifdef X_strerror
#if defined(unix) || defined(__unix__)
char *
DEFUN(strerror, (errnum), int errnum)
{
  extern int sys_nerr;
  extern char *sys_errlist[];

  if (errnum > 0 && errnum < sys_nerr)
    return sys_errlist[errnum];
  return "";
}
#endif /* unix */
#endif /* X_strerror */