|
|
1.1 ! root 1: ! 2: ! 3: mknod() COHERENT System Call mknod() ! 4: ! 5: ! 6: ! 7: ! 8: Create a special file ! 9: ! 10: #include <sys/ino.h> ! 11: #include <sys/stat.h> ! 12: mmkknnoodd(_n_a_m_e, _m_o_d_e, _a_d_d_r) ! 13: cchhaarr *_n_a_m_e; iinntt _m_o_d_e, _a_d_d_r; ! 14: ! 15: mknod is the COHERENT system call that creates a special file. A ! 16: special file is one through which a device is accessed, or a ! 17: named pipe. ! 18: ! 19: mode gives the type of special file to be created. It can be set ! 20: to IFBLK, for a block-special device, such as a disk driver; to ! 21: IFCHR, for a character-special device, such as a serial-port ! 22: driver; or to IFPIPE, for a named pipe. ! 23: ! 24: address is a parameter interpreted by the driver; it might ! 25: specify the channel of a multiplexor or the unit number of a ! 26: drive. Note that this is not used with named pipes. ! 27: ! 28: ***** See Also ***** ! 29: ! 30: COHERENT system calls, pipe ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.