view 3rdparty/packages/uucpbb/src/header/utime.h @ 2855:e126b9acab32 lwtools-port

rules.mak: Do not hardcode path for "echo" It is basically the only tool with full path here and I don't see any reason for it. We don't use special echo options that would fail on the shell built-in echo. Also don't hardcode path for losetup. sudo should make sure you have the relevant location in your path, and that the path is sanitized, otherwise your sudo setup is broken.
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 13 Jul 2013 11:30:31 +0200
parents 5ba8e711a1a3
children
line wrap: on
line source

#ifndef _VOID_
#define _VOID_
typedef int void
#endif

struct tm {
      int   tm_sec;           /* seconds (0 - 59) */
      int   tm_min;           /* minutes (0 - 59) */
      int   tm_hour;          /* hours (0 - 23) */
      int   tm_mday;          /* day of month (1 - 31) */
      int   tm_mon;           /* month of year (0 - 11) */
      int   tm_year;          /* year (year - 1900) */
      int   tm_wday;          /* day of week (Sunday = 0) */
      int   tm_yday;          /* day of year (0 - 365) */
      int   tm_isdst;         /* not used */
      };

long        time();           /* just like Unix */
struct tm   *localtime();     /* just like Unix */
char        *asctime();       /* just like Unix */
char        *ctime();         /* just like Unix */

long        o2utime();        /* converts os9 style buf to Unix long */
void        u2otime();        /* converts 'tm' to os9 char buf */