mkdir(2) seems to have appeared in 4.2BSD with the system call number
136, as seen in the system's /usr/src/sys/sys/syscalls.c file.[1] The
function also appeared in POSIX.1-1988.[2]
[1] Spinellis, Diomidis (5 Jan 2026). Unix History Repository (Git
repository). Tag "BSD-4_2".
<https://github.com/dspinellis/unix-history-repo/tree/BSD-4_2>
[2] IEEE Std 1003.1-1988, Section 5.4.1 "Make a Directory".
Signed-off-by: Seth McDonald <sethmcmail@pm.me>
Message-ID: <
347e36c11666dc28a3c00227ae5c513bd427e680.
1769429341.git.sethmcmail@pm.me>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
.SH HISTORY
.TP
.BR mkdir ()
-SVr4, BSD, POSIX.1-2001.
+4.2BSD,
+SVr4,
+POSIX.1-1988.
.\" SVr4 documents additional EIO, EMULTIHOP
.TP
.BR mkdirat ()