有些函数查不出来是因为,没有安装相应的文件,你可以在网上找一下,相关的文件安装一下
我的就可以查出close
CLOSE(2)
Linux Programmer’s Manual
CLOSE(2)
NAME
close - close a file descriptor
SYNOPSIS
#include <unistd.h>
int close(int fd);
DESCRIPTION
close()
closes
a
file descriptor, so that it no longer refers to any
file and may be reused.
Any record locks (see fcntl(2))
held
on
the
file
it
was
associated
with,
and owned by the process, are removed
(regardless of the file descriptor that was used to obtain the lock).
If fd is the last file descriptor referring to the underlying open file
description
(see open(2)), the resources associated with the open file
description are freed; if the descriptor was the last
reference
to
a
file which has been removed using unlink(2) the file is deleted.
RETURN VALUE
close()
returns
zero on success.
On error, -1 is returned, and errno
[[it] 本帖最后由 asmdaydream 于 2009-7-29 13:20 编辑 [/it]]