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:
239 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "stdio_impl.h"
|
---|
| 2 |
|
---|
| 3 | #ifndef __c2__
|
---|
| 4 | static int dummy(int fd)
|
---|
| 5 | {
|
---|
| 6 | return fd;
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | weak_alias(dummy, __aio_close);
|
---|
| 10 | #else
|
---|
| 11 | extern int __aio_close(int fd);
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
| 14 | int __stdio_close(FILE *f)
|
---|
| 15 | {
|
---|
| 16 | return syscall(SYS_close, __aio_close(f->fd));
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.