Add fileno_unlocked to support thread sanitizer.
Bug: 25392375 Change-Id: If3f92a0e08a53f4b59e01397e8efa307d8572349
This commit is contained in:
@@ -99,3 +99,7 @@ int feof_unlocked(FILE* fp) {
|
||||
int ferror_unlocked(FILE* fp) {
|
||||
return __sferror(fp);
|
||||
}
|
||||
|
||||
int fileno_unlocked(FILE* fp) {
|
||||
return __sfileno(fp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user