LibC: Add POSIX spec link for unistd mknod() API

This commit is contained in:
Kenneth Myhra 2022-01-14 11:27:58 +01:00 committed by Ali Mohammad Pur
commit 38472d7e02
Notes: sideshowbarker 2024-07-17 20:19:39 +09:00

View file

@ -706,6 +706,7 @@ int access(const char* pathname, int mode)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
// https://pubs.opengroup.org/onlinepubs/9699919799/functions/mknod.html
int mknod(const char* pathname, mode_t mode, dev_t dev)
{
if (!pathname) {