ȉ́AMakefile  CFLAGS }ÑtOɂċLq܂B



fBNg̓ǂݍ݁B

	Aopendir(), readdir(), closedr() WCuɂA
	ꂪ direct \̂gpĂȂ΂ȂɂȂB
	direct \̂gpĂȂ΁A-DSYSV_SYSTEM_DIR  CFLAGS }
	NɒǉB
	AWCuɂȂ΁A lhdir.o  Makefile  OBJS }N
	ɒǉāA-DNONSYSTEM_DIR_LIBRARY  CFLAGS }NɒǉB
	́AfNg𒼐 open/read/write  opendir ȂǂG
	~[gB
	ł߂Ȃ炠߂ -DNODIRECTORY  CFLAGS }NɒǉB
	w肵ꍇAfBNgw肵ẴA[JCułȂ
	ȂB


[rARs[A[tB֌WB

	bcmpAbcopyAbzero ̃CuȂ}Vi System-V
	}V j́A-DNOBSTRING  CFLAGS }NɒǉBɂ
	memcmpAmemcpyAmemset g悤ɂȂBȂ΁Aȉ
	Ȃ̂ȂB
 		int bcmp (a, b, n) char *a, *b; int n;
		{ while (n--) if (*a++ != *b++)
		    return (a[-1] & 0xff) - (b[-1] & 0xff);
		  return 0; }

		void bcopy (s, d, n) char *s, *d; int n;
	 	{ while (n--) *d++ = *s++; }

		void bzero (d, n) char *d; int n;
	 	{ while (n--) *d++ = 0; }


\

	sys/time.h  struct tm `ĂȂ΁itime.h
	ɒ`Ă Ȃ΁jA-DSYSTIME_HAS_NO_TM  CFLAGS
	}NɒǉB


t@C I/O

	i System-V Łjftruncate VXeR[Ȃ΁A
	-DNOFTRUNCATE  CFLAGS }NɒǉB
	邱ƂɂAe|t@CRs[Ƃ
	rename VXeR[gȂȂ邾B


t@C[h

	Ai܂ƂȂ^邭jstat œt@C[h
	̈Ӗȉ̂̂ƈႤȂ΁A-DNOT_COMPATIBLE_MODE  CFLAGS
	}NɒǉA\[XȂɏB
		
		#define UNIX_FILE_TYPEMASK	0170000
		#define UNIX_FILE_REGULAR	0100000
		#define UNIX_FILE_DIRECTORY	0040000
		#define UNIX_SETUID		0004000
		#define UNIX_SETGID		0002000
		#define UNIX_STYCKYBIT		0001000
		#define UNIX_OWNER_READ_PERM	0000400
		#define UNIX_OWNER_WRITE_PERM	0000200
		#define UNIX_OWNER_EXEC_PERM	0000100
		#define UNIX_GROUP_READ_PERM	0000040
		#define UNIX_GROUP_WRITE_PERM	0000020
		#define UNIX_GROUP_EXEC_PERM	0000010
		#define UNIX_OTHER_READ_PERM	0000004
		#define UNIX_OTHER_WRITE_PERM	0000002
		#define UNIX_OTHER_EXEC_PERM	0000001
		#define UNIX_RW_RW_RW		0000666


ȏ͊eɂ܂BȏBFB
						1989.09.18  Y.Tagawa
		