output.c (6903c6832ee29ae469b74e9d046b1cd07d6f1181) | output.c (d6d66cfc004b0fbdfe2906faf08b530facb704a3) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 225 unchanged lines hidden (view full) --- 234 ckfree(output.buf); 235 output.buf = NULL; 236 output.nleft = 0; 237 } 238 INTON; 239} 240 241 | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 225 unchanged lines hidden (view full) --- 234 ckfree(output.buf); 235 output.buf = NULL; 236 output.nleft = 0; 237 } 238 INTON; 239} 240 241 |
242int 243outiserror(struct output *file) 244{ 245 return (file->flags & OUTPUT_ERR); 246} 247 248 |
|
242void | 249void |
250outclearerror(struct output *file) 251{ 252 file->flags &= ~OUTPUT_ERR; 253} 254 255 256void |
|
243outfmt(struct output *file, const char *fmt, ...) 244{ 245 va_list ap; 246 247 va_start(ap, fmt); 248 doformat(file, fmt, ap); 249 va_end(ap); 250} --- 85 unchanged lines hidden --- | 257outfmt(struct output *file, const char *fmt, ...) 258{ 259 va_list ap; 260 261 va_start(ap, fmt); 262 doformat(file, fmt, ap); 263 va_end(ap); 264} --- 85 unchanged lines hidden --- |