Displaying 3 results from an estimated 3 matches for "clearerr_unlocked".
2020 Jul 25
0
[klibc:master] stdio: Define all the _unlocked functions and macros
...ff_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) fread((p), (s), (n), (f))
__extern_inline size_t
fwrite(const void *__p...
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
...s_t *__restrict __pos);
extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
extern int feof_unlocked (FILE *__stream) __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_errli...