blob: 61f9c573abccc694efb580403112339417f91247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "sys/types.h"
#include <unistd.h>
#include "../_assert.h"
#include "../_syscall.h"
char * getcwd(char *buf, size_t size)
{
ASSERT_NONNULL(buf);
SYSCALL(getcwd, char *, NULL, buf, size, 0, 0, 0, 0);
}
/*
POSIX(1)
*/
|