hwclock和date源码分析

Posted dakewei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hwclock和date源码分析相关的知识,希望对你有一定的参考价值。

一. hwclock

  1.1 hwclock源码在哪里?

    util-linux 或者busybox

  1.2 获取源码

    git clone https://github.com/karelzak/util-linux.git

    或

    git clone git://git.busybox.net/busybox

  1.3 hwclock的源码路径

    sys-utils/hwclock.c

    或

    util-linux/hwclock.c

二. date

  2.1 date的源码在哪里

    coreutils

  2.2 获取源码

    git clone https://github.com/coreutils/coreutils.git

  2.3 date的源码路径

    src/date.c

    

以上是关于hwclock和date源码分析的主要内容,如果未能解决你的问题,请参考以下文章