This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] __fpurge(3)


This patch implements __fpurge(3):

http://www.kernel.org/doc/man-pages/online/pages/man3/fpurge.3.html

As noted there, neither fpurge(3) nor __fpurge(3) are portable; the
former is BSD, the latter originally Solaris and now also in glibc,
making it an increasingly more common form.

Patch and new header attached.


Yaakov
Cygwin/X

Attachment: newlib-__fpurge.patch
Description: Binary data

/*
 * stdio_ext.h
 *
 * Definitions for I/O internal operations, originally from Solaris.
 */

#ifndef _STDIO_EXT_H_
#define _STDIO_EXT_H_

#include <stdio.h>

_BEGIN_STD_C

void	 _EXFUN(__fpurge,(FILE *));

_END_STD_C

#endif /* _STDIO_EXT_H_ */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]