mknod (2) Linux Manual Page
NAME mknod, mknodat – create a special or ordinary file SYNOPSIS #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> int mknod(const char *pathname, mode_t mode, dev_t dev); #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); Feature Test Macro Requirements for glibc (see feature_test_macros(7)):…
