Home
last modified time | relevance | path

Searched refs:fmemopen_badopen (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream.c55 fmemopen_badopen(void *buf, size_t size, const char *mode, int err) in fmemopen_badopen() function
78 return (fmemopen_badopen(fmemopen_str1, strlen(fmemopen_str1), "foobar", in fmemopen_badmode()
85 return (fmemopen_badopen(fmemopen_str1, 0, "w", EINVAL)); in fmemopen_zerobuf1()
91 return (fmemopen_badopen(NULL, 0, "w+", EINVAL)); in fmemopen_zerobuf2()
97 return (fmemopen_badopen(NULL, 10, "r", EINVAL)); in fmemopen_nullbuf1()
103 return (fmemopen_badopen(NULL, 10, "w", EINVAL)); in fmemopen_nullbuf2()
109 return (fmemopen_badopen(NULL, 10, "a", EINVAL)); in fmemopen_nullbuf3()
115 return (fmemopen_badopen(NULL, 10, "ax", EINVAL)); in fmemopen_nullbuf4()
121 return (fmemopen_badopen(NULL, SIZE_MAX, "w+", ENOMEM)); in fmemopen_sizemax()
130 ret = fmemopen_badopen(NULL, 10, "w+", ENOMEM); in fmemopen_cantalloc()