Temporary code

svn path=/trunk/; revision=2958
This commit is contained in:
KJK::Hyperion 2002-05-17 01:47:13 +00:00
parent 34a6708f44
commit 084950fd26
3 changed files with 11 additions and 6 deletions

View file

@ -1,4 +1,4 @@
/* $Id: dirent.h,v 1.3 2002/03/22 01:26:28 hyperion Exp $ /* $Id: dirent.h,v 1.4 2002/05/17 01:47:13 hyperion Exp $
*/ */
/* /*
* dirent.h * dirent.h
@ -33,17 +33,19 @@
/* TYPES */ /* TYPES */
typedef void DIR; typedef void DIR;
#define NAME_MAX (255)
struct dirent struct dirent
{ {
ino_t d_ino; /* file serial number */ ino_t d_ino; /* file serial number */
char d_name[NAME_MAX + 1]; /* name of entry */ char * d_name /* [NAME_MAX + 1] */; /* name of entry */
}; };
/* for Unicode filenames */ /* for Unicode filenames */
struct _Wdirent struct _Wdirent
{ {
ino_t d_ino; /* file serial number */ ino_t d_ino; /* file serial number */
wchar_t d_name[NAME_MAX + 1]; /* name of entry */ wchar_t * d_name/* [NAME_MAX + 1] */; /* name of entry */
}; };
/* CONSTANTS */ /* CONSTANTS */

View file

@ -1,4 +1,4 @@
/* $Id: limits.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $ /* $Id: limits.h,v 1.3 2002/05/17 01:47:13 hyperion Exp $
*/ */
/* /*
* limits.h * limits.h
@ -34,6 +34,9 @@
/* CONSTANTS */ /* CONSTANTS */
/* TODO */ /* TODO */
#define OPEN_MAX (256) #define OPEN_MAX (256)
#define NAME_MAX (255)
#define ARG_MAX (255)
#define PATH_MAX (32768)
/* PROTOTYPES */ /* PROTOTYPES */

View file

@ -1,4 +1,4 @@
/* $Id: time.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $ /* $Id: time.h,v 1.3 2002/05/17 01:47:13 hyperion Exp $
*/ */
/* /*
* time.h * time.h
@ -30,7 +30,7 @@
#include <sys/types.h> #include <sys/types.h>
/* OBJECTS */ /* OBJECTS */
//extern static int getdate_err; /* FIXME */ /* extern static int getdate_err; */ /* FIXME */
extern int daylight; extern int daylight;
extern long int timezone; extern long int timezone;
extern char *tzname[]; extern char *tzname[];