0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

secureCoding > C11附属書K > gets_s() > gets()の置き換え

0
Last updated at Posted at 2015-04-26

引用: C/C++ セキュアコーディング 第2版 by Robert C. Seacordら

gets_s()関数は、stdinが指すストリームからしか読み込みを行わず、改行文字も残さないので、fgets()よりもさらにgets()に近い代替関数である。


[cppreference](http://en.cppreference.com/w/c/io/gets) > char *gets_s( char *str, rsize_t n ); (since C11)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?