现在的位置: 首页 > 综合 > 正文

26、linux 几个C函数,nanosleep,lstat,unlink

2012年12月24日 ⁄ 综合 ⁄ 共 320字 ⁄ 字号 评论关闭

1、C语言的nanosleep1

pause execution for a specified time

int nanosleep(const struct timespec *req, struct timespec *rem);

2、lstat - get file status

int fstat(int filedes, struct stat *buf);

3、unlink2

delete a name and possibly the file it refers to

int unlink(const char *pathname);

参考

1http://linux.die.net/man/2/nanosleep

2http://linux.die.net/man/2/unlink

抱歉!评论已关闭.