Home
last modified time | relevance | path

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

/bionic/tests/
Dstring_test.cpp53 TEST(string, strerror_r) { in TEST() argument
57 ASSERT_EQ(0, strerror_r(0, buf, sizeof(buf))); in TEST()
59 ASSERT_EQ(0, strerror_r(1, buf, sizeof(buf))); in TEST()
63 ASSERT_EQ(0, strerror_r(-1, buf, sizeof(buf))); in TEST()
65 ASSERT_EQ(0, strerror_r(1234, buf, sizeof(buf))); in TEST()
69 ASSERT_EQ(-1, strerror_r(0, buf, 2)); in TEST()
/bionic/libc/unistd/
Dperror.c36 strerror_r( errno, buff, sizeof(buff) ); in perror()
/bionic/libc/bionic/
Dstrerror.cpp44 strerror_r(error_number, strerror_buffer, strerror_buffer_size); in strerror()
Dstrerror_r.cpp44 int strerror_r(int error_number, char* buf, size_t buf_len) { in strerror_r() function
/bionic/libc/include/
Dstring.h67 extern int strerror_r(int errnum, char *buf, size_t n);
/bionic/libc/
DAndroid.mk292 bionic/strerror_r.cpp \