Searched refs:gets_s (Results 1 - 4 of 4) sorted by relevance
/freebsd-12-stable/lib/libc/tests/stdio/ |
H A D | gets_s_test.c | 53 ATF_CHECK_MSG(gets_s(NULL, 1) == NULL, 54 "gets_s() failed to handle NULL pointer"); 76 ATF_CHECK_MSG(gets_s(b, sizeof(b)) == 0, "gets_s() normal failed"); 95 ATF_CHECK_MSG(gets_s(&b, RSIZE_MAX + 1) == NULL, 96 "gets_s() n > RSIZE_MAX"); 105 ATF_CHECK_MSG(gets_s(&b, 0) == NULL, "gets_s() n is zero"); 117 ATF_CHECK_MSG(gets_s(&b, RSIZE_MAX + 1) == NULL, "gets_s() [all...] |
/freebsd-12-stable/lib/libc/stdio/ |
H A D | gets_s.c | 74 __throw_constraint_handler_s("gets_s : end of buffer", E2BIG); 83 gets_s(char *buf, rsize_t n) function 87 __throw_constraint_handler_s("gets_s : str is NULL", EINVAL); 90 __throw_constraint_handler_s("gets_s : n > RSIZE_MAX", 94 __throw_constraint_handler_s("gets_s : n == 0", EINVAL);
|
H A D | Makefile.inc | 17 gets.c gets_s.c getw.c getwc.c getwchar.c makebuf.c mktemp.c \ 54 MLINKS+=fgets.3 gets_s.3
|
/freebsd-12-stable/include/ |
H A D | stdio.h | 274 char *gets_s(char *, rsize_t);
|
Completed in 70 milliseconds