Home | History | Annotate | Download | only in tests-m32

Lines Matching refs:setsockopt

49 	int rc = setsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
70 /* classic setsockopt */
74 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
79 /* setsockopt with optlen larger than necessary */
81 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
86 /* setsockopt with optlen < 0 - EINVAL */
88 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, -1) = %s\n",
91 /* setsockopt with optlen smaller than necessary - EINVAL */
93 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
96 /* setsockopt optval EFAULT */
98 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",