Home
last modified time | relevance | path

Searched refs:_Fcin (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libshell/common/sh/
H A Dfcin.c34 Fcin_t _Fcin = {0}; variable
45 _Fcin.fcbuff = _Fcin.fcptr; in fcfopen()
46 _Fcin._fcfile = f; in fcfopen()
51 _Fcin.fcchar = 0; in fcfopen()
52 _Fcin.fcptr = _Fcin.fcbuff = &_Fcin.fcchar; in fcfopen()
53 _Fcin.fclast = 0; in fcfopen()
54 _Fcin._fcfile = (Sfio_t*)0; in fcfopen()
60 _Fcin.fcoff = sftell(f);; in fcfopen()
62 _Fcin.fclast = (_Fcin.fcptr=_Fcin.fcbuff=(unsigned char*)buff)+n; in fcfopen()
64 *_Fcin.fclast = 0; in fcfopen()
[all …]
/titanic_50/usr/src/lib/libshell/common/include/
H A Dfcin.h45 #define fcfile() (_Fcin._fcfile)
47 #define fcget() ((int)(*_Fcin.fcptr++))
48 #define fcpeek(n) ((int)_Fcin.fcptr[n])
49 #define fcseek(n) ((char*)(_Fcin.fcptr+=(n)))
50 #define fcfirst() ((char*)_Fcin.fcbuff)
51 #define fcsopen(s) (_Fcin._fcfile=(Sfio_t*)0,_Fcin.fcbuff=_Fcin.fcptr=(unsigned char*)(s))
52 #define fctell() (_Fcin.fcoff + (_Fcin.fcptr-_Fcin.fcbuff))
53 #define fcsave(x) (*(x) = _Fcin)
54 #define fcrestore(x) (_Fcin = *(x))
61 extern Fcin_t _Fcin; /* used by macros */