Last change
on this file since 388 was 388, checked in by coas-nagasima, 5 years ago |
Azure IoT Hub Device C SDK を使ったサンプルの追加
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
-
Property svn:mime-type
set to
text/x-csrc
|
File size:
283 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "stdio_impl.h"
|
---|
| 2 |
|
---|
| 3 | int fileno(FILE *f)
|
---|
| 4 | {
|
---|
| 5 | /* f->fd never changes, but the lock must be obtained and released
|
---|
| 6 | * anyway since this function cannot return while another thread
|
---|
| 7 | * holds the lock. */
|
---|
| 8 | FLOCK(f);
|
---|
| 9 | FUNLOCK(f);
|
---|
| 10 | return f->fd;
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | weak_alias(fileno, fileno_unlocked);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.