output.c (82725ba9bf1fd59746a4006a06f24d4d61d142f2) output.c (94b793c49790cdb4f945fe909c65d4c89fe71f16)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1991, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Kenneth Almquist.

--- 326 unchanged lines hidden (view full) ---

335 FILE *fp;
336
337 if ((fp = fwopen(dest, doformat_wr)) != NULL) {
338 vfprintf(fp, f, ap);
339 fclose(fp);
340 }
341}
342
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1991, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Kenneth Almquist.

--- 326 unchanged lines hidden (view full) ---

335 FILE *fp;
336
337 if ((fp = fwopen(dest, doformat_wr)) != NULL) {
338 vfprintf(fp, f, ap);
339 fclose(fp);
340 }
341}
342
343FILE *
344out1fp(void)
345{
346 return fwopen(out1, doformat_wr);
347}
348
343/*
344 * Version of write which resumes after a signal is caught.
345 */
346
347int
348xwrite(int fd, const char *buf, int nbytes)
349{
350 int ntry;

--- 20 unchanged lines hidden ---
349/*
350 * Version of write which resumes after a signal is caught.
351 */
352
353int
354xwrite(int fd, const char *buf, int nbytes)
355{
356 int ntry;

--- 20 unchanged lines hidden ---