*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: mknod | Section: 2 | Source: UNIX v7 | File: mknod.2
MKNOD(2) System Calls Manual MKNOD(2) NAME mknod - make a directory or a special file SYNOPSIS mknod(name, mode, addr) char *name; DESCRIPTION Mknod creates a new file whose name is the null-terminated string pointed to by name. The mode of the new file (including directory and special file bits) is initialized from mode. (The protection part of the mode is modified by the process's mode mask; see umask(2)). The first block pointer of the i-node is initialized from addr. For ordi- nary files and directories addr is normally zero. In the case of a special file, addr specifies which special file. Mknod may be invoked only by the super-user. SEE ALSO mkdir(1), mknod(1), filsys(5) DIAGNOSTICS Zero is returned if the file has been made; -1 if the file already ex- ists or if the user is not the super-user. ASSEMBLER (mknod = 14.) sys mknod; name; mode; addr MKNOD(2)

Navigation Options