Home
last modified time | relevance | path

Searched refs:sfopen (Results 1 – 25 of 57) sorted by relevance

123

/titanic_44/usr/src/lib/libast/common/sfio/
H A Dsfopen.c31 Sfio_t* sfopen(Sfio_t* f, const char* file, const char* mode) in sfopen() function
33 Sfio_t* sfopen(f,file,mode) in sfopen()
/titanic_44/usr/src/lib/libast/common/port/
H A Dastquery.c62 else if (!(rfp = sfopen(NiL, "/dev/tty", "r"))) in astquery()
66 else if (!(wfp = sfopen(NiL, "/dev/tty", "w"))) in astquery()
/titanic_44/usr/src/lib/libast/common/string/
H A Dtokline.c170 if (!(s = sfopen(NiL, NiL, "s"))) in tokline()
177 else if (!(f = sfopen(NiL, arg, (flags & SF_STRING) ? "s" : "r"))) in tokline()
/titanic_44/usr/src/cmd/ast/msgcc/
H A Dmsggen.c271 if (!(sp = sfopen(NiL, catfile, "r"))) in main()
359 if (!(mp = sfopen(NiL, msgfile, "r"))) in main()
361 sp = sfopen(NiL, catfile, "r"); in main()
511 if (!(s = pathtemp(NiL, 0, "", error_info.id, NiL)) || !(sp = sfopen(NiL, s, "w"))) in main()
H A Dmsgget.c99 if (!(sp = sfopen(NiL, path, "r"))) in main()
/titanic_44/usr/src/lib/libcmd/common/
H A Dcat.c514 sfopen(sfstdout, NiL, "wt"); in b_cat()
523 sfopen(fp, NiL, mode); in b_cat()
525 else if (!(fp = sfopen(NiL, cp, mode))) in b_cat()
555 sfopen(sfstdout, NiL, "w"); in b_cat()
H A Dcomm.c181 else if(!(f1 = sfopen(NiL, cp,"r"))) in b_comm()
186 else if(!(f2 = sfopen(NiL, cp,"r"))) in b_comm()
H A Dcmp.c226 else if (!(f1 = sfopen(NiL, file1, "r"))) in b_cmp()
234 else if (!(f2 = sfopen(NiL, file2, "r"))) in b_cmp()
H A Duniq.c313 if(!(fpin = sfopen(NiL,cp,"r"))) in b_uniq()
321 if(!(fpout = sfopen(NiL,cp,"w"))) in b_uniq()
H A Dhead.c132 else if (!(fp = sfopen(NiL, cp, "r"))) in b_head()
H A Drev.c143 else if(!(fp = sfopen((Sfio_t*)0,cp,"r"))) in b_rev()
H A Dwc.c158 else if (!(fp = sfopen(NiL,cp,"r"))) in b_wc()
H A Dfold.c230 else if(!(fp = sfopen(NiL,cp,"r"))) in b_fold()
H A Dcksum.c156 sfopen(sp, NiL, mode); in openfile()
158 else if (!(sp = sfopen(NiL, path, mode))) in openfile()
H A Dpaste.c255 else if(!(fp = sfopen(NiL,cp,"r"))) in b_paste()
H A Dtail.c279 else if (!(tp->sp = sfopen(tp->sp, tp->name, "r"))) in init()
724 else if (!(ip = sfopen(NiL, file, "r"))) in b_tail()
/titanic_44/usr/src/lib/libast/common/stdio/
H A Dfopen.c29 return sfopen(NiL, path, mode); in fopen()
H A Dfreopen.c31 return sfopen(f, path, mode); in freopen()
/titanic_44/usr/src/lib/libshell/common/edit/
H A Dhexpand.c162 wm = sfopen(NULL, NULL, "swr");
246 ref = sfopen(ref, cc, "s"); /* open as file */
439 tmp = sfopen(NULL, NULL, "swr");
536 tmp2 = sfopen(tmp2, NULL, "swr");
/titanic_44/usr/src/lib/libast/common/path/
H A Dpathcheck.c66 …if (n > o && (n - o) > (unsigned long)(60 * 60 * 24 * 90) && (sp = sfopen(NiL, "/etc/hosts", "r"))) in pathcheck()
H A Dpathprobe.c209 if (sp = sfopen(NiL, path, "r")) in pathprobe()
/titanic_44/usr/src/lib/libast/common/uwin/
H A Dgetpass.c56 if(!(iop = sfopen((Sfio_t*)0, "/dev/tty", "r"))) in getpass()
/titanic_44/usr/src/lib/libast/common/misc/
H A Dfastfind.c403 if (fp->fp = sfopen(NiL, fp->decode.path, "r")) in findopen()
412 else if (fp->fp = sfopen(NiL, path, "r")) in findopen()
416 … pathpath(fp->decode.path, path, "", PATH_REGULAR|PATH_READ)) && (fp->fp = sfopen(NiL, path, "r"))) in findopen()
1161 if (!(sp = sfopen(NiL, fp->encode.file, "w"))) in findsync()
1212 if (!(fp->fp = sfopen(NiL, fp->encode.temp, "r"))) in findsync()
1224 if (!(sp = sfopen(NiL, fp->encode.file, "w"))) in findsync()
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dshcomp.c113 if(!(out = sfopen((Sfio_t*)0,cp,"w"))) in main()
/titanic_44/usr/src/lib/libast/common/comp/
H A Dcatopen.c83 if ((s = mcfind(path, NiL, name, LC_MESSAGES, flag)) && (ip = sfopen(NiL, s, "r"))) in _ast_catopen()

123