blob: a4442bbed352ae45ea641440ca3c591c5f2600b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "sys/types.h"
#include <sys/stat.h>
#include "stdlib.h"
#include "_assert.h"
#include "_syscall.h"
int stat(const char * restrict path, struct stat * restrict buf)
{
ASSERT_NONNULL(path);
ASSERT_NONNULL(buf);
SYSCALL(stat, int, -1, path, buf, 0, 0, 0, 0);
}
/*
POSIX(1)
*/
|