开发者

date uses gettimeofday?

When I do: date system call on freeBSD, does it internally use gettimeofday ?

Another que: how do I know where the code of "date" command sitting开发者_StackOverflow社区 on the system?

Thanks.


You can find the source for date in the online SVN repository browser.

The date command calls time() to get the current time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜