Where can I find the implementation of “time.h”?

后端 未结 5 910
不知归路
不知归路 2020-12-20 22:04

Where can I find the implementation of time.h in the C Standard Library, i.e time.c?

I tried with Google Code Search time.c Is the implementation in th

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-20 22:42

    You can find an implementation in the GNU libc library. There isn't a single time.c file. Each function (to a first approximation) lives in its own compilation unit.

提交回复
热议问题