Annotation of 43BSD/contrib/dsh/src/error.c, revision 1.1.1.1

1.1       root        1: #include <stdio.h>
                      2: int    errno;
                      3: 
                      4: warn (str)
                      5: char   *str;
                      6: {
                      7:     fprintf (stderr, "%s [errno = %d]\n", str, errno);
                      8: }
                      9: 
                     10: error (str)
                     11: char   *str;
                     12: {
                     13:     warn (str);
                     14:     exit (-1);
                     15: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.