1 /* b-fb.h --- basic file operations 2 3 Copyright (C) 2010-2020 Thien-Thi Nguyen 4 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert 5 Copyright (C) 1982, 1988, 1989 Walter Tichy 6 7 This file is part of GNU RCS. 8 9 GNU RCS is free software: you can redistribute it and/or modify it 10 under the terms of the GNU General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 GNU RCS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty 16 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 17 See the GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 */ 22 23 extern int change_mode (int fd, mode_t mode); 24 exiting 25 extern void Ierror (void); 26 extern void testIerror (FILE *f) 27 ALL_NONNULL; 28 exiting 29 extern void Oerror (void); 30 extern void testOerror (FILE *o) 31 ALL_NONNULL; 32 extern FILE *fopen_safer (char const *filename, char const *type) 33 ALL_NONNULL; 34 extern void Ozclose (FILE **p) 35 ALL_NONNULL; 36 extern void aflush (FILE *f) 37 ALL_NONNULL; 38 extern void oflush (void); 39 extern void afputc (int c, FILE *f) 40 ALL_NONNULL; 41 extern void newline (FILE *f) 42 ALL_NONNULL; 43 extern void aputs (char const *s, FILE *iop) 44 ALL_NONNULL; 45 extern void aprintf (FILE *iop, char const *fmt, ...) 46 ARG_NONNULL ((1, 2)) 47 printf_string (2, 3); 48 49 /* b-fb.h ends here */ 50