|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 944 (0x3b0)
Types: TextFile
Notes: UNIX file
Names: »mknod.2«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man2/mknod.2«
.ig @(#)mknod.2 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .TH MKNOD 2 .SH NAME mknod \- make a directory or a special file .SH SYNOPSIS .nf .B mknod(name, mode, addr) .B char *name; .nf .SH DESCRIPTION .I Mknod creates a new file whose name is the null-terminated string pointed to by .IR name . The mode of the new file (including directory and special file bits) is initialized from .IR mode . (The protection part of the mode is modified by the process's mode mask; see .IR umask (2)). The first block pointer of the i-node is initialized from .IR addr . For ordinary files and directories .I addr is normally zero. In the case of a special file, .I addr specifies which special file. .PP .I Mknod may be invoked only by the super-user. .SH "SEE ALSO" mkdir(1), mknod(1), filsys(5) .SH DIAGNOSTICS Zero is returned if the file has been made; \-1 if the file already exists or if the user is not the super-user.