Lines Matching refs:fdout
118 int fdout; /* output file descriptor */ variable
180 fdout = creat(fout, 0666); in main()
181 if (fdout < 0) { in main()
185 write(fdout, &dev, sizeof(struct dev)); in main()
186 write(fdout, size, (dev.nsizes+1) * sizeof(size[0])); /* we need a 0 on the end */ in main()
187 write(fdout, chtab, dev.nchtab * sizeof(chtab[0])); in main()
188 write(fdout, chname, dev.lchname); in main()
192 write(fdout, &font, sizeof(struct Font)); in main()
193 write(fdout, width, font.nwfont & BYTEMASK); in main()
194 write(fdout, kern, font.nwfont & BYTEMASK); in main()
195 write(fdout, code, font.nwfont & BYTEMASK); in main()
196 write(fdout, fitab, dev.nchtab+128-32); in main()
198 lseek(fdout, 0L, 0); /* back to beginning to install proper size */ in main()
204 write(fdout, &dev, sizeof(struct dev)); in main()
205 close(fdout); in main()
221 int fdout; local
230 fdout = creat(cmd, 0666);
300 write(fdout, &font, sizeof(struct Font));
301 write(fdout, width, font.nwfont & BYTEMASK);
302 write(fdout, kern, font.nwfont & BYTEMASK);
303 write(fdout, code, font.nwfont & BYTEMASK);
304 write(fdout, fitab, dev.nchtab+128-32);
305 close(fdout);