Suppliment Library for HI-TECH C V3.09 manual
By Tatsuhiko Syoji(Tatsu) 1995-2000

{pbP[WɊ܂܂t@C̓ełB
CTYPE   .H   :֐`wb_[t@CłB
STDLIB  .H   :e֐`wb_[t@CłB
STRING  .H   :֐`wb_[t@CłB
LIBT    .LIB :{CũCut@CłB
LIBT    .L   :e֐̓\[Xt@CłB
SUPLIB  .TXT :AȂǂłt@CłB
AREL    .BAT :ٍELIBRp̃ob`t@CłB
CREL    .BAT :ٍELIBRp̃ob`t@CłB

{CȗΏ
HI-TECH C V3.09 for CP/M

̃Cu͉҂H
  HI-TECH C V3.09 for CP/Mɂ͂ȂȀnɂ݂͑Ǝv֐
ڐÂW߂̂łB

g
  ctype.h,string.h,stdlib.h,LIBT.LIBHI-TECH C̎spfBXN
Rs[܂B
@\[Xt@C쐬ɂ́A#includegĖړIƂ֐̐錾ꂽ
wb_[t@Cǂݍ܂ĂBNLIBT.LIBLIBC.LIB̑O
N悤ɂĂBŁA{Zbg𗘗pvO\
Ȃ܂B

ăRpCɂ
@ٍELIBRpӂāA
elibr -c 2 -o libt.lib libt.l
@Ƃă\[Xt@C֐ɕA$exec.bats
邱ƂōăRpCsƂł܂B
@ELIBR͎Weby[W(LQ)̓xN^[肷邱Ƃł
B

zzɂ
@{CũCZXHI-TECH C for CP/M Version 3.09̃wb_t@C
ςĂ邽HI-TECH C for CP/M Version 3.09̃CZXɏ]܂B

IWiZ80READ.MEp
The HI-TECH Z80 CP/M C compiler V3.09 is provided free of charge for any
use, private or commercial, strictly as-is. No warranty or product
support is offered or implied.

You may use this software for whatever you like, providing you acknowledge
that the copyright to this software remains with HI-TECH Software.

@ǉ֐ɂĂ͍҂łTatsu쌠LĂ܂B

Cu֐t@X
  ̊֐́Astdlib.hCN[h邱ƂŎgp邱Ƃł܂B
VOID swab(s,t,n)
char *s;
char *t;
int n;
@stnoCgQoCggƂďԂւȂRs[܂Bn
łKv܂B

char *bsearch(key,base,membs,size,compar)
char *key;
char *base;
unsigned membs;
unsigned size;
int     (*compar)();
@sizeoCg̗vf membs鏸Ƀ\[gꂽzbase̒ keyƓ
vfQT@ŒTÃAhXԂ܂Brɂ͂Q̃|C^xy
ɂāA̒lԂcompar̎w֐g܂B
*x > *y̎ 
*x = *y̎ 0
*x < *y̎ 
@ԂlƂāA keyƓvf̃AhXԂAȂƂNULL
Ԃ܂B
@ȌdčċAĂяo𗘗p܂̂ŁA\ȑ傫̃t[GA
pӂĂB

֐t@X

@ctype.hCN[h邱Ƃɂgpł֐̃t@X܂B

int iscsymf(c);
int iscsym(c);
@̊֐͕c ȉ̏𖞂Ƃ^AȂƂ͋U
Ԃ܂B
int iscsymf(c);
b̎ʎq̂Pڂǂ
int iscsym(c);
b̎ʎq̂Qڈȍ~ǂ

񏈗֐t@X

@string.h CN[h邱Ƃɂgpł֐̃t@X܂B

int strcmpi(s,t)
int stricmp(s,t)
unsigned char *s,*t;
@Q̕񂓂ƂIȏŔrāǍʂɂ莟̒l
Ԃ܂BAA啶Ə̋ʂ͂܂B
@̎@
@̎@O
@̎@

char *strstr(str,str2)
char *str,*str2;
@񂓂當񂓂Q܂B͕񒆂
ʒũAhXԂ܂BȂ͂mtkkԂ܂B

int strncmpi(s,t,len)
int strnicmp(s,t,len)
unsigned char *s,*t;
int len;
@Q̕񂓂ƂIȏŔrāǍʂɂ
̒lԂ܂BAA啶Ə̋ʂ͂܂B
@strncmpistrnicmp͓łBɂĂ̒`string.hōsA
ǂ̖OłĂяoƂł܂B
@̎@
@̎@O
@̎@

unsigned char *strrev(str)
unsigned char *str;
@񂓂𔽓]A񂓂̃AhXԂ܂B
ex)"012345"->"543210"

char *strtok(buf,mask)
char *buf;
char *mask;
@maskɊ܂܂镶g[N̋؂ƂāAbufg[N
؂o܂BQxڂbufNULL邱ƂłP̕񂩂玟X
g[N؂oƂł܂Bmask͌ĂяoɕςĂ
\܂B
  g[NȂƂNULLԂ܂B

char *strpbrk(s1,s2)
char *s1;
char *s2;
@s2̔Cӂ̂Ps1ŏ߂Č鏊̃|C^Ԃ܂B
@s2̕ȂƂNULLԂ܂B

unsigned char *strset(str,ch)
unsigned char *str;
unsigned char ch;
 str𕶎chŖ߂܂B

unsigned char *strnset(str,ch,n)
unsigned char *str;
unsigned char ch;
int  n;
 str𕶎chn܂Ŗ߂܂B

unsigned char *strdup(s)
unsigned char *s;
@sۑ邽߂̃malloc()găq[v
s̒{PoCgmۂAɕsRs[܂Bs
ۑAhXԂ܂B̊mۂɎsNULLԂ܂B

unsigned char *stpcpy(s,t)
unsigned char *s;
unsigned char *t;
@tsɃRs[܂Bsɂ͏\ȑ傫KvłBs̍Ō'\0'ւ
|C^Ԃ܂B

unsigned char *memccpy(dest,src,c,n)
unsigned char *dest;
unsigned char *src;
unsigned char c;
unsigned n;
@cRs[邩noCgRs[܂ŁAdestsrc 烁[
Rs[܂BcRs[Ƃc̎̕|C^Ԃ܂B
łȂNULLԂ܂B

int     memicmp(s,t,n)
char *s;
char *t;
int n;
@sԒnnoCg̃ubNtԒnnoCg̃ubN
rǍʂɂ莟̒lԂ܂B
@̎@
@̎@O
@̎@
@memicmp ̓At@xbg̑啶Əʂ܂B

unsigned strspn(s,t)
char *s;
char *t;
@s̐擪AtɊ܂܂Ȃ܂ł̒𑪒肵܂Bt 
I['\0'͔ȓΏۂɂ͂Ȃ܂B

unsigned strcspn(s,t)
char *s;
char *t;
@s̐擪AtɊ܂܂镶܂ł̒𑪒肵܂Bt 
I['\0'͔ȓΏۂɂ͂Ȃ܂B

Ql
LSI C-86 Ver.3.30 HŃ}jAyуwb_[t@C
SMALL-C Ver.3.20A֐\[Xt@C
̑AebɊւQlyыL

