Annotation of coherent/b/bin/c/common/nput.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * common/nput.c
                      3:  * Standard stream library for the C compiler
                      4:  * and other compilers that use C compiler facilities.
                      5:  * Output a name.
                      6:  */
                      7: 
                      8: #include <stdio.h>
                      9: #ifdef   vax
                     10: #include "INC$LIB:ops.h"
                     11: #include "INC$LIB:mch.h"
                     12: #else
                     13: #include "ops.h"
                     14: #include "mch.h"
                     15: #endif
                     16: 
                     17: nput(id)
                     18: register char *id;
                     19: {
                     20:        register c;
                     21: 
                     22:        while ((c = *id++) != 0)
                     23:                bput(c);
                     24: #if    APPENDBAR
                     25:        bput('_');
                     26: #endif
                     27:        bput(0);
                     28: }
                     29: 
                     30: /* end of common/nput.c */

unix.superglobalmegacorp.com

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