Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!mordor!sri-spam!rutgers!im4u!ut-sally!utah-cs!utah-gr!uplherc!sp7040!obie!wes From: wes@obie.UUCP (Barnacle Wes) Newsgroups: comp.lang.c Subject: Re: system Message-ID: <7@obie.UUCP> Date: 30 Jan 88 11:04:13 GMT References: <127@dcrbg1.UUCP> <1670009@otter.HP.COM> Organization: UinTech, Layton, UT Lines: 6 Summary: directories are made with mknod(2) on System V On System V, directories are made with the system call mknod(2). To make the directory '/usr/fool' with rwxrwxr-x permissions, you would use: mknod("/usr/fool", 040775, 0); The mode bits are: 040000: make directory, 0775: permission bits.