[Scummvm-cvs-logs] CVS: scummvm/PocketSCUMM/missing/sys stat.h,NONE,1.1 time.h,NONE,1.1 types.h,NONE,1.1

Claudio Matsuoka cmatsuoka at users.sourceforge.net
Tue Nov 6 11:34:50 CET 2001


Update of /cvsroot/scummvm/scummvm/PocketSCUMM/missing/sys
In directory usw-pr-cvs1:/tmp/cvs-serv21052/PocketSCUMM/missing/sys

Added Files:
	stat.h time.h types.h 
Log Message:
Added missing missing/sys files.


--- NEW FILE: stat.h ---
/* Header is not present in Windows CE SDK */

#include <sys/types.h>

struct stat {
	_dev_t st_dev;
	_ino_t st_ino;
	unsigned short st_mode;
	short st_nlink;
	short st_uid;
	short st_gid;
	_dev_t st_rdev;
	_off_t st_size;
	time_t st_atime;
	time_t st_mtime;
	time_t st_ctime;
};


#define _S_IFDIR        0040000         /* directory */
#define S_IFDIR  _S_IFDIR

int stat(const char *, struct stat *);

--- NEW FILE: time.h ---
/* Header is not present in Windows CE SDK */

struct timeval
{
	int tv_sec;
	int tv_usec;
};

void gettimeofday(struct timeval* tp, void* dummy);
void usleep(long usec);

--- NEW FILE: types.h ---
/* Header is not present in Windows CE SDK */

typedef unsigned short _ino_t;
typedef unsigned int _dev_t;
typedef long _off_t;





More information about the Scummvm-git-logs mailing list