Hi Hardik,

Please keep the list on Cc.

On Fri, Oct 24, 2014 at 02:20:40PM +0800, hardik gohil wrote:
> I searched for time.h
> output of file
> 
> #define USE_TIME(...)  __VA_ARGS__
> 
> no function prototype of stime

The definition of stime(2) depends on your C library. My host glibc has this 
in /usr/include/time.h:

extern int stime (const time_t *__when) __THROW;

baruch

> 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.
> >
> > baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to