File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / mknod
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



mknod()                COHERENT System Call               mknod()




Create a special file

#include <sys/ino.h>
#include <sys/stat.h>
mmkknnoodd(_n_a_m_e, _m_o_d_e, _a_d_d_r)
cchhaarr *_n_a_m_e; iinntt _m_o_d_e, _a_d_d_r;

mknod is the COHERENT system call that creates a special file.  A
special  file is  one through  which a device  is accessed,  or a
named pipe.

mode gives the type of special file to be created.  It can be set
to IFBLK,  for a block-special device, such as  a disk driver; to
IFCHR,  for a  character-special  device, such  as a  serial-port
driver; or to IFPIPE, for a named pipe.

address  is  a  parameter interpreted  by  the  driver; it  might
specify  the channel  of a  multiplexor or the  unit number  of a
drive.  Note that this is not used with named pipes.

***** See Also *****

COHERENT system calls, pipe

































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

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