mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibCore: Add mkfifo() syscall wrapper
This commit is contained in:
parent
3af7a5dd61
commit
c10abd6be2
2 changed files with 6 additions and 0 deletions
|
@ -945,4 +945,9 @@ ErrorOr<void> mknod(StringView pathname, mode_t mode, dev_t dev)
|
|||
#endif
|
||||
}
|
||||
|
||||
ErrorOr<void> mkfifo(StringView pathname, mode_t mode)
|
||||
{
|
||||
return mknod(pathname, mode | S_IFIFO, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue