Searched refs:gets_s (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/lib/libc/tests/stdio/
H A Dgets_s_test.c53 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-13-stable/lib/libc/stdio/
H A Dgets_s.c74 __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 DMakefile.inc17 gets.c gets_s.c getw.c getwc.c getwchar.c makebuf.c mktemp.c \
54 MLINKS+=fgets.3 gets_s.3
/freebsd-13-stable/include/
H A Dstdio.h273 char *gets_s(char *, rsize_t);

Completed in 73 milliseconds