blob: 9f19d88ab53664d8250eae280241c6cbbfd418a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdio.h>
#include <sys/param.h>
#include <unistd.h>
#include "test.h"
int
main(int argc, char **argv)
{
char wd[MAXPATHLEN], *getcwd(), *getwd();
printf("getcwd => %s\n", getcwd(wd, MAXPATHLEN));
printf("getwd => %s\n", getwd(wd));
SUCCEED;
}
|