Unix Man ( )

         

RDCHK(3)


RDCHK(3)
NIX System V (21 1987)


rdchk - poepe ae ax e

int rdchk (fdes) int fdes;


rdchk poepe, ye poecc opoa, ec o oaec a a c oepo fdes. rdchk opaae 1, ec ec ae e ocy oe aa (EOF). Oo, rdchk coyec ao oece:

if(rdchk(fildes)>0) read(fildes,buffer,nbytes);

.


read(3)


rdchk opaae -1, ec oapyea oa EBADF, 0, ec poecc ye opoa oce oa read, 1, ec ee ooo. Oa EBADF oae, ec o rdchk pee ceaopoy ay yaa a e cyecye.

AEA


popaa, coya y y, oa oooac c ao -lx.