Home
last modified time | relevance | path

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

/assert/
A Dtest-assert-perr.c15 char buf[160]; variable
73 fgets (buf, 160, stderr); in main()
74 if (!strstr(buf, strerror (1))) in main()
77 fgets (buf, 160, stderr); in main()
78 if (strstr (buf, strerror (0))) in main()
81 fgets (buf, 160, stderr); in main()
82 if (strstr (buf, strerror (2))) in main()
A Dtest-assert.c15 char buf[160]; variable
75 fgets (buf, 160, stderr); in main()
76 if (!strstr (buf, "1 == 2")) in main()
79 fgets (buf, 160, stderr); in main()
80 if (strstr (buf, "1 == 1")) in main()
83 fgets (buf, 160, stderr); in main()
84 if (strstr (buf, "2 == 3")) in main()
A Dassert.c68 struct abort_msg_s *buf = __mmap (NULL, total, PROT_READ | PROT_WRITE, in __assert_fail_base() local
70 if (__glibc_likely (buf != MAP_FAILED)) in __assert_fail_base()
72 buf->size = total; in __assert_fail_base()
73 strcpy (buf->msg, str); in __assert_fail_base()
77 struct abort_msg_s *old = atomic_exchange_acq (&__abort_msg, buf); in __assert_fail_base()

Completed in 9 milliseconds