mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Remove __flbf(3).
This commit is contained in:
parent
2f393b2646
commit
8643c37102
5 changed files with 0 additions and 68 deletions
|
@ -87,8 +87,6 @@ stdio/fgetc_unlocked.o \
|
||||||
stdio/fgets.o \
|
stdio/fgets.o \
|
||||||
stdio/fgets_unlocked.o \
|
stdio/fgets_unlocked.o \
|
||||||
stdio/fileno_unlocked.o \
|
stdio/fileno_unlocked.o \
|
||||||
stdio/flbf.o \
|
|
||||||
stdio/flbf_unlocked.o \
|
|
||||||
stdio/flockfile.o \
|
stdio/flockfile.o \
|
||||||
stdio/fmemopen.o \
|
stdio/fmemopen.o \
|
||||||
stdio/fnewfile.o \
|
stdio/fnewfile.o \
|
||||||
|
|
|
@ -314,8 +314,6 @@ int fwriting_unlocked(FILE* fp);
|
||||||
int freadable_unlocked(FILE* fp);
|
int freadable_unlocked(FILE* fp);
|
||||||
#define fwritable __fwritable
|
#define fwritable __fwritable
|
||||||
int fwritable_unlocked(FILE* fp);
|
int fwritable_unlocked(FILE* fp);
|
||||||
#define flbf __flbf
|
|
||||||
int flbf_unlocked(FILE* fp);
|
|
||||||
#define fpurge __fpurge
|
#define fpurge __fpurge
|
||||||
void fpurge_unlocked(FILE* fp);
|
void fpurge_unlocked(FILE* fp);
|
||||||
#define fpending __fpending
|
#define fpending __fpending
|
||||||
|
|
|
@ -36,7 +36,6 @@ int __freading(FILE* fp);
|
||||||
int __fwriting(FILE* fp);
|
int __fwriting(FILE* fp);
|
||||||
int __freadable(FILE* fp);
|
int __freadable(FILE* fp);
|
||||||
int __fwritable(FILE* fp);
|
int __fwritable(FILE* fp);
|
||||||
int __flbf(FILE* fp);
|
|
||||||
void __fpurge(FILE* fp);
|
void __fpurge(FILE* fp);
|
||||||
size_t __fpending(FILE* fp);
|
size_t __fpending(FILE* fp);
|
||||||
|
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
/*******************************************************************************
|
|
||||||
|
|
||||||
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013.
|
|
||||||
|
|
||||||
This file is part of the Sortix C Library.
|
|
||||||
|
|
||||||
The Sortix C Library is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or (at your
|
|
||||||
option) any later version.
|
|
||||||
|
|
||||||
The Sortix C Library is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
||||||
License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
|
||||||
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
stdio/flbf.cpp
|
|
||||||
Returns whether a FILE is line buffered.
|
|
||||||
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
extern "C" int flbf(FILE* fp)
|
|
||||||
{
|
|
||||||
flockfile(fp);
|
|
||||||
int ret = flbf_unlocked(fp);
|
|
||||||
funlockfile(fp);
|
|
||||||
return ret;
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
/*******************************************************************************
|
|
||||||
|
|
||||||
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013.
|
|
||||||
|
|
||||||
This file is part of the Sortix C Library.
|
|
||||||
|
|
||||||
The Sortix C Library is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or (at your
|
|
||||||
option) any later version.
|
|
||||||
|
|
||||||
The Sortix C Library is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
||||||
License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
|
||||||
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
stdio/flbf_unlocked.cpp
|
|
||||||
Returns whether a FILE is line buffered.
|
|
||||||
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
extern "C" int flbf_unlocked(FILE* fp)
|
|
||||||
{
|
|
||||||
return fp->buffer_mode == _IOLBF;
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue