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