Displaying 4 results from an estimated 4 matches for "fileno_unlocked".
2020 Jul 25
0
[klibc:master] stdio: Define all the _unlocked functions and macros
...ze_t fwrite_unlocked(const void *, size_t, size_t, FILE *);
__extern off_t ftell(FILE *__f);
#define ftello ftell
__extern int ferror(FILE * );
+__extern int ferror_unlocked(FILE * );
__extern int feof(FILE *);
+__extern int feof_unlocked(FILE *);
__extern int fileno(FILE *);
+__extern int fileno_unlocked(FILE *);
__extern void clearerr(FILE *);
+__extern void clearerr_unlocked(FILE *);
#ifndef __NO_STDIO_INLINES
__extern_inline size_t
@@ -104,33 +118,39 @@ fread(void *__p, size_t __s, size_t __n, FILE * __f)
{
return _fread(__p, __s * __n, __f) / __s;
}
+#define fread_unlocked(p, s, n, f)...
2007 Nov 23
3
[LLVMdev] Getting rid of the DoesntAccessMemoryFns and OnlyReadsMemoryFns tables
...adnone nothing
towctrans readnone nothing
btowc readnone nothing
wctob readnone nothing
nan readonly readnone
nanf readonly readnone
wcscoll readonly nothing
feof readonly nothing
ferror readonly nothing
fileno readonly nothing
feof_unlocked readonly nothing
ferror_unlocked readonly nothing
fileno_unlocked readonly nothing
I think gcc marks all those alphabetical routines "readonly" rather
than "readnone" because they depend on the locale; so I guess gcc
is right about those ones.
That leaves the following list for which gcc doesn't say either
readnone or readonly on my mach...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...tream) __attribute__ ((__nothrow__)) ;
extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern void perror (__const char *__s);
extern int sys_nerr;
extern __const char *__const sys_errlist[];
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern FILE *popen (__const char *__command, __const char *__modes) ;
extern int pclose (FILE *__stream);
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
extern int...