Server for Information Technologies

(095) 932-9212, 932-9213, 939-0783
E-mail: info@citforum.ru
(!) CIT Forum CD-ROM

DEFOPEN(3)
XENIX System V (21 1987) DEFOPEN(3)


defopen, defread - ae a yoa

	int defopen (filename)
	char *filename;
	
	char *defread (pattern)
	char *pattern;


y defopen defread peaae oye cpoo ocya aa yoa. Oo XENIX ocaec oo e; cooae ao yoa ooe pcoco ccey opex y, e e cxox eco cce.

defopen opae a yoa, aa ee filename. defopen opaae 0 p yceo op aa o, oop fopen aoc errno, p eyao op.

defread ae peapeo op a o eo aaa ocax cpo, aaec c ocpo pattern. Ec aa cpoa aea, defread opaae yaae a ep co cpoe oce o ocpo. poae aepae co epeoa cpo aec coa NUL.

oce oo, a ce epecye eca pa aa yoa, popaa oe a defopen c ee pyoo aa, oopo ye pooc oc, c apyeo NULL, a ape aa yoa e op pyoo aa.

A
o ecy XENIX coae yoa popa xyz (ec o ec) coepac ae /etc/default/xyz.

AOCA
B cyae yceoo aepe defopen opaae aee 0. p eyao op opaaec aee, oopoe fopen(3) aoc errno.

defread opaae NULL, ec a e op, e ae peye pattern ec ae cpeac cpoa, a oopo pee 128 coo.

AEA
Bopaaeoe aee yaae caecy oac a oe epeacao oepe oo.
Comments: info@citmgu.ru
Designed by Andrey Novikov
Copyright © CIT