shithub: npe

ref: 2fea808391f397ddb906ec726d8b3f4a2a4b8e7b
dir: /include/npe/time.h/

View raw version
#ifndef _time_h_
#define _time_h_

#include "plan9.h"

typedef long time_t;

struct tm {
	int tm_sec;
	int tm_min;
	int tm_hour;
	int tm_mday;
	int tm_mon;
	int tm_year;
	int tm_wday;
	int tm_yday;
	int tm_isdst;
};

#define localtime npe_localtime
struct tm *npe_localtime(time_t *timep);

#endif