开发者

date uses gettimeofday?

开发者 https://www.devze.com 2023-02-03 19:13 出处:网络
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?

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

精彩评论

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