On 24 October 2014 07:30, hardik gohil <[email protected]> wrote:
>
>
>
> On Fri, Oct 24, 2014 at 12:49 PM, Baruch Siach <[email protected]> wrote:
>>
>> Hi Hardik,
>>
>> On Fri, Oct 24, 2014 at 12:42:39PM +0800, hardik gohil wrote:
>> > I am trying to understand busybox/coreutils/date.c file.
>> >
>> > what I understood is whenever i set time from user space using date
>> > command,internally stime() gets called defined in date.c
>> >
>> > Can any one help me where definition of stime() is defined.
>>
>>
>
>
>>
>> >stime(2) is a system call. See its man page at
>> >http://man7.org/linux/man-pages/man2/stime.2.html.
>
>
>
>
> I searched for time.h
> output of file
>
> #define USE_TIME(...) __VA_ARGS__
>
> no function prototype of stime
$ grep -Irl 'int stime[ ]*(' /*/include
/musl/include/time.h
/usr/include/time.h
Steven
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox