summaryrefslogtreecommitdiff
path: root/src/user/lib/include/sys/stat.h
blob: a954c9be9bbfc6ba5ceb52043113b25d8189c55f (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#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;
}