fpending.diff

davshao, 10/05/2013 04:54 PM

Download (780 Bytes)

View differences:

include/stdio.h
351 351
void	*fcookie(FILE *);
352 352
char	*fgetln(FILE *, size_t *);
353 353
const char *fmtcheck(const char *, const char *) __format_arg(2);
354
__ssize_t __fpending(const FILE *);
354
__size_t __fpending(FILE *);
355 355
int	 fpurge(FILE *);
356 356
void	 setbuffer(FILE *, char *, int);
357 357
int	 setlinebuf(FILE *);
lib/libc/stdio/__fpending.c
36 36

  
37 37
#include "local.h"
38 38

  
39
__ssize_t
40
__fpending(const FILE *fp)
39
__size_t
40
__fpending(FILE *fp)
41 41
{
42 42
	if (HASUB(fp))
43 43
		return(fp->_up - fp->_bf._base);