Cross Reference: syscall
xref
: /
osnet-11
/
usr
/
src
/
lib
/
libast
/
common
/
features
/
syscall
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1
N/A
lib sysgetcwd note{ syscall(SYS_getcwd,buf,len) implemented }end link{
1
N/A
#include <
sys/syscall.h
>
1
N/A
int main()
1
N/A
{
1
N/A
char buf[256];
1
N/A
return syscall(SYS_getcwd, buf, sizeof(buf)) < 0;
1
N/A
}
1
N/A
}end
1
N/A
1
N/A
if ( _lib_sysgetcwd ) {
1
N/A
#include <
sys/syscall.h
>
1
N/A
}
1
N/A
endif
1
N/A
1
N/A
if ( _lib_sysgetcwd ) {
1
N/A
#define SYSGETCWD(a,b) syscall(SYS_getcwd,a,b)
1
N/A
}
1
N/A
endif