Annotation of 42BSD/usr.lib/libF77/s_stop.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  *     "@(#)s_stop.c   1.1"
                      3:  */
                      4: 
                      5: #include <stdio.h>
                      6: 
                      7: s_stop(s, n)
                      8: char *s;
                      9: long int n;
                     10: {
                     11: int i;
                     12: 
                     13: if(n > 0)
                     14:        {
                     15:        fprintf(stderr, "STOP: ");
                     16:        for(i = 0; i<n ; i++)
                     17:                putc(*s++, stderr);
                     18:        putc('\n', stderr);
                     19:        }
                     20: f_exit();
                     21: _cleanup();
                     22: exit(0);
                     23: }

unix.superglobalmegacorp.com

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