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:
197 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "stdio_impl.h"
|
---|
| 2 | #include <limits.h>
|
---|
| 3 | #include <string.h>
|
---|
| 4 |
|
---|
| 5 | char *gets(char *s)
|
---|
| 6 | {
|
---|
| 7 | char *ret = fgets(s, INT_MAX, stdin);
|
---|
| 8 | if (ret && s[strlen(s)-1] == '\n') s[strlen(s)-1] = 0;
|
---|
| 9 | return ret;
|
---|
| 10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.