Annotation of researchv10dc/man/adm/man2/mkdir.2, revision 1.1

1.1     ! root        1: .TH MKDIR 2
        !             2: .CT 2 dirs
        !             3: .SH NAME
        !             4: mkdir, rmdir \(mi make or remove a directory
        !             5: .SH SYNOPSIS
        !             6: .nf
        !             7: .B int mkdir(name, mode)
        !             8: .B char *name;
        !             9: .sp
        !            10: .B int rmdir(name)
        !            11: .B char *name;
        !            12: .fi
        !            13: .SH DESCRIPTION
        !            14: .I Mkdir
        !            15: creates a new directory
        !            16: whose name is the null-terminated string
        !            17: pointed to by
        !            18: .IR name .
        !            19: The mode of the directory
        !            20: is set to
        !            21: .IR mode ,
        !            22: as modified by the process's mode mask; see
        !            23: .IR stat (2)
        !            24: and
        !            25: .IR umask (2).
        !            26: The directory initially contains two entries:
        !            27: .B .
        !            28: (a link to the directory itself) and
        !            29: .B ..
        !            30: (a link to the parent directory).
        !            31: .PP
        !            32: .I Rmdir
        !            33: removes the directory
        !            34: .IR name ,
        !            35: which must have only
        !            36: .L \&.
        !            37: and
        !            38: .LR \&..
        !            39: entries.
        !            40: .SH "SEE ALSO
        !            41: .IR mkdir (1),
        !            42: .IR rm (1),
        !            43: .IR mknod (2),
        !            44: .IR stat (2),
        !            45: .IR umask (2)
        !            46: .SH DIAGNOSTICS
        !            47: .IR mkdir :
        !            48: .BR EEXIST ,
        !            49: .BR EFAULT ,
        !            50: .BR EIO ,
        !            51: .BR ELOOP ,
        !            52: .BR ENOENT ,
        !            53: .BR ENOTDIR ,
        !            54: .BR EROFS
        !            55: .br
        !            56: .IR rmdir :
        !            57: .BR EFAULT ,
        !            58: .BR EHASF ,
        !            59: .BR EINVAL ,
        !            60: .BR EIO ,
        !            61: .BR ELOOP ,
        !            62: .BR ENOENT ,
        !            63: .BR ENOTDIR ,
        !            64: .BR EROFS

unix.superglobalmegacorp.com

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