blob: 3ddfa53aa5b55a14346570c361ccd63953a0a6f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "sys/types.h"
#include <unistd.h>
#include "nonstd/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)
*/
|