stdio.h (552311f4bb98c81b1b9e0e81d74e0262fc12110b) stdio.h (448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3)
1/*-
2 * Copyright (c) 1990, 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 * Chris Torek.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

42
43typedef __off_t fpos_t;
44
45#ifndef _SIZE_T_DECLARED
46typedef __size_t size_t;
47#define _SIZE_T_DECLARED
48#endif
49
1/*-
2 * Copyright (c) 1990, 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 * Chris Torek.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

42
43typedef __off_t fpos_t;
44
45#ifndef _SIZE_T_DECLARED
46typedef __size_t size_t;
47#define _SIZE_T_DECLARED
48#endif
49
50#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
50#if __POSIX_VISIBLE >= 200809
51#ifndef _OFF_T_DECLARED
52#define _OFF_T_DECLARED
53typedef __off_t off_t;
54#endif
55#ifndef _SSIZE_T_DECLARED
56#define _SSIZE_T_DECLARED
57typedef __ssize_t ssize_t;
58#endif
59#endif
60
51#ifndef _OFF_T_DECLARED
52#define _OFF_T_DECLARED
53typedef __off_t off_t;
54#endif
55#ifndef _SSIZE_T_DECLARED
56#define _SSIZE_T_DECLARED
57typedef __ssize_t ssize_t;
58#endif
59#endif
60
61#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
61#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
62#ifndef _VA_LIST_DECLARED
63typedef __va_list va_list;
64#define _VA_LIST_DECLARED
65#endif
66#endif
67
68#define _FSTDIO /* Define for new stdio with functions. */
69

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

337int getw(FILE *);
338int putw(int, FILE *);
339#endif /* BSD or X/Open before issue 6 */
340
341#if __XSI_VISIBLE
342char *tempnam(const char *, const char *);
343#endif
344
62#ifndef _VA_LIST_DECLARED
63typedef __va_list va_list;
64#define _VA_LIST_DECLARED
65#endif
66#endif
67
68#define _FSTDIO /* Define for new stdio with functions. */
69

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

337int getw(FILE *);
338int putw(int, FILE *);
339#endif /* BSD or X/Open before issue 6 */
340
341#if __XSI_VISIBLE
342char *tempnam(const char *, const char *);
343#endif
344
345#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
345#if __POSIX_VISIBLE >= 200809
346FILE *fmemopen(void * __restrict, size_t, const char * __restrict);
347ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
348 FILE * __restrict);
349FILE *open_memstream(char **, size_t *);
350int renameat(int, const char *, int, const char *);
351int vdprintf(int, const char * __restrict, __va_list);
352
353/*

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

382#endif
383#endif
384#endif
385
386#ifdef _WITH_DPRINTF
387int (dprintf)(int, const char * __restrict, ...);
388#endif
389
346FILE *fmemopen(void * __restrict, size_t, const char * __restrict);
347ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
348 FILE * __restrict);
349FILE *open_memstream(char **, size_t *);
350int renameat(int, const char *, int, const char *);
351int vdprintf(int, const char * __restrict, __va_list);
352
353/*

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

382#endif
383#endif
384#endif
385
386#ifdef _WITH_DPRINTF
387int (dprintf)(int, const char * __restrict, ...);
388#endif
389
390#endif /* __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 */
390#endif /* __POSIX_VISIBLE >= 200809 */
391
392/*
393 * Routines that are purely local.
394 */
395#if __BSD_VISIBLE
396int asprintf(char **, const char *, ...) __printflike(2, 3);
397char *ctermid_r(char *);
398void fcloseall(void);

--- 125 unchanged lines hidden ---
391
392/*
393 * Routines that are purely local.
394 */
395#if __BSD_VISIBLE
396int asprintf(char **, const char *, ...) __printflike(2, 3);
397char *ctermid_r(char *);
398void fcloseall(void);

--- 125 unchanged lines hidden ---