Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

Unix

Unix v6

mknod(2)



mknod make a directory or a special file (mknod = 14.; not in assembler)
sys mknod; name; mode; addr mknod(name, mode, addr)
char *name;
creates a new file whose name is the null-terminated string pointed to by The mode of the new file (including directory and special file bits) is initialized from The first physical address of the file is initialized from Note that in the case of a directory, should be zero. In the case of a special file, specifies which special file. may be invoked only by the super-user. mkdir (I), mknod (VIII), fs (V) Error bit (c-bit) is set if the file already exists or if the user is not the super-user. From C, a 1 value indicates an error.



mknod(2)