mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibC: Add POSIX spec link for unistd mknod() API
This commit is contained in:
parent
d6432a3f99
commit
38472d7e02
Notes:
sideshowbarker
2024-07-17 20:19:39 +09:00
Author: https://github.com/kennethmyhra
Commit: 38472d7e02
Pull-request: https://github.com/SerenityOS/serenity/pull/11896
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bgianfo ✅
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue