]> git.saurik.com Git - apple/libpthread.git/blob - src/pthread_cwd.c
libpthread-330.201.1.tar.gz
[apple/libpthread.git] / src / pthread_cwd.c
1 #include <errno.h>
2 #include <fcntl.h>
3 #include <unistd.h>
4
5 extern int __pthread_chdir(char *path);
6 int
7 pthread_chdir_np(char *path)
8 {
9 return __pthread_chdir(path);
10 }
11
12 extern int __pthread_fchdir(int fd);
13 int
14 pthread_fchdir_np(int fd)
15 {
16 return __pthread_fchdir(fd);
17 }