Luna/libc/include/sys/stat.h
apio 8c831a6906
All checks were successful
continuous-integration/drone/push Build is passing
libc: Add mknod()
2023-03-18 09:13:31 +01:00

25 lines
380 B
C

/* sys/stat.h: stat() routine and friends. */
#ifndef _SYS_STAT_H
#define _SYS_STAT_H
#include <bits/modes.h>
#include <sys/types.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* Create a directory. */
int mkdir(const char* path, mode_t mode);
/* Create a special file. */
int mknod(const char* path, mode_t mode, dev_t dev);
#ifdef __cplusplus
}
#endif
#endif