1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:37:46 +00:00

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
parent d6432a3f99
commit 38472d7e02

View file

@ -706,6 +706,7 @@ int access(const char* pathname, int mode)
__RETURN_WITH_ERRNO(rc, rc, -1); __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) int mknod(const char* pathname, mode_t mode, dev_t dev)
{ {
if (!pathname) { if (!pathname) {