------解决方案-------------------- 我目前用的eclipse+c插件,挺好用的,就算你没有include,也依旧可以ctrl+右键点过去,然后就知道了。当然查资料应该还是有的吧,这是我目前的笨办法 ------解决方案-------------------- ubuntu下用man命令就能查看到。
比如man gettimeofday
NAME
gettimeofday, settimeofday -- get/set date and time
LIBRARY Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/time.h>
int
gettimeofday(struct timeval *tp, struct timezone *tzp);
int
settimeofday(const struct timeval *tp, const struct timezone *tzp);
DESCRIPTION
Note: timezone is no longer used; this information is kept outside the
kernel.