Searched defs:fo (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c44 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, argument
122 nbytes = write(fo, cp, mapsize);
131 nbytes = write(fo,
139 (void) close(fo);
163 (void) close(fo);
183 (void) close(fo);
203 (void) close(fo);
211 } else if (write(fo, buf, n) != n) {
213 (void) close(fo);
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c214 unsigned long fo, va, value; local
255 fo = (a - (char*)lpm->pr_vaddr) + lpm->pr_offset;
260 if (ph[i].p_type == PT_LOAD && fo >= ph[i].p_offset &&
261 fo < ph[i].p_offset + ph[i].p_filesz)
268 va = (fo - ph[i].p_offset) + ph[i].p_vaddr;
304 fo = (value - ph[i].p_vaddr) + ph[i].p_offset;
305 return (char*)lpm->pr_vaddr + (fo - lpm->pr_offset);
/illumos-gate/usr/src/cmd/refer/
H A Drefer0.c21 FILE *fo = stdout; variable
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c201 outof(struct name *names, FILE *fo) argument
256 rewind(fo);
260 while ((c = getc(fo)) != EOF)
262 rewind(fo);
H A Dsend.c49 static void fmt(register char *str, register FILE *fo);
652 puthead(struct header *hp, FILE *fo, int w, long clen) argument
658 fprintf(fo, "To: "), fmt(hp->h_to, fo), gotcha++;
661 fprintf(fo, "Subject: %s\n", hp->h_subject), gotcha++;
664 fprintf(fo, "Subject: %s\n", sflag), gotcha++;
666 fprintf(fo, "Cc: "), fmt(hp->h_cc, fo), gotcha++;
668 fprintf(fo, "Bcc: "), fmt(hp->h_bcc, fo), gotch
700 fmt(register char *str, register FILE *fo) argument
730 register FILE *fo; local
[all...]
H A Dcollect.c795 lcwrite(char *fn, FILE *fi, FILE *fo, int addnl) argument
805 if (putc(c, fo) == '\n')
807 if (ferror(fo)) {
813 putc('\n', fo);
817 fflush(fo);
818 if (fferror(fo)) {
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c1402 size_t fo; local
1417 fn = fo = sfvalue(ip);
1450 if (fn == fo)
/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c1105 int fi, fo; local
1136 if ((fo = open(file_copy, O_CREAT|O_TRUNC|O_WRONLY, s.st_mode)) < 0) {
1142 (void) fchown(fo, s.st_uid, s.st_gid);
1166 (void) close(fo);
1180 (void) ftruncate(fo, 0);
1181 (void) lseek(fo, 0, SEEK_SET);
1201 if (write(fo, buf, len) == len) {
1209 (void) close(fo);
1224 if (write(fo, buf, len) != len) {
1229 (void) close(fo);
[all...]
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c521 int fi, fo; local
805 fo = creat(target, s1.st_mode & MODEBITS);
806 if (fo < 0) {
813 fo = creat(target,
817 if (fo < 0) {
875 if (writefile(fi, fo, source, target, NULL,
881 if (close(fo) < 0) {
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcgrep.c1641 egrep(char *f, FILE *o, char *fo) argument
1649 format = fo;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c3797 struct scsi_failover_ops *fo; local
3823 fo = vlun->svl_fops;
3828 if (fo->sfo_path_get_opinfo(psd, &opinfo,
4362 struct scsi_failover_ops *fo; local
4376 fo = vlun->svl_fops;
4377 (void) fo->sfo_pathclass_next(
4723 struct scsi_failover_ops *fo,
4733 if (fo->sfo_path_get_opinfo(psd, &opinfo, vlun->svl_fops_ctpriv) != 0) {
4825 (void) fo->sfo_pathclass_next(NULL, &best_pclass,
4905 (void) fo
4722 vhci_update_pathinfo(struct scsi_device *psd, mdi_pathinfo_t *pip, struct scsi_failover_ops *fo, scsi_vhci_lun_t *vlun, struct scsi_vhci *vhci) argument
5417 struct scsi_failover_ops *fo; local
7945 struct scsi_failover_ops *fo; local
[all...]

Completed in 194 milliseconds