summaryrefslogtreecommitdiff
path: root/src/user/lib/include/sys/stat.h
blob: 5776f1e8db52186bd6aa217aa4c5544b5de993d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <sys/types.h>
#include <errno.h> // only for ENOSYS

#define S_ISFIFO(x) 0

struct stat {};
static inline int fstat(int fd, struct stat *sb) {
	(void)fd; (void)sb;
	errno = ENOSYS;
	return -1;
}

int mkdir(const char *path, mode_t mode);