Lines Matching refs:my_err
23 int my_err, my_status, my_len;
53 my_err = create_random_name( my_parent_pathp, 0 );
54 if ( my_err != 0 ) {
84 my_err = bind( my_socket_fd, my_sockaddr, my_sockaddr->sa_len );
85 if ( my_err == -1 ) {
93 my_err = getsockname( my_socket_fd, my_sockaddr, &my_accept_len );
94 if ( my_err == -1 ) {
134 my_err = bind( my_child_fd, my_sockaddr, my_sockaddr->sa_len );
135 if ( my_err == -1 ) {
144 my_err = connect( my_child_fd, my_sockaddr, my_sockaddr->sa_len );
145 if ( my_err == -1 ) {
159 my_err = getpeername( my_child_fd, my_sockaddr, &my_buffer_len );
160 if ( my_err == -1 ) {
224 my_err = listen( my_socket_fd, 10 );
225 if ( my_err == -1 ) {
305 my_err = 0;
309 my_err = -1;
324 return( my_err );
333 int my_err, my_status;
342 my_err = socketpair( AF_UNIX, SOCK_STREAM, 0, &my_sockets[0] );
343 if ( my_err == -1 ) {
350 my_err = getsockopt( my_sockets[0], SOL_SOCKET, SO_TYPE, &my_buffer[0], &my_socklen);
351 if ( my_err == -1 ) {
362 my_err = getsockopt( my_sockets[0], SOL_SOCKET, SO_RCVTIMEO, &my_buffer[0], &my_socklen);
363 if ( my_err == -1 ) {
372 my_err = setsockopt( my_sockets[0], SOL_SOCKET, SO_RCVTIMEO, &my_buffer[0], sizeof(struct timeval) );
373 if ( my_err == -1 ) {
380 my_err = getsockopt( my_sockets[0], SOL_SOCKET, SO_RCVTIMEO, &my_buffer[0], &my_socklen);
381 if ( my_err == -1 ) {
392 my_err = setsockopt( my_sockets[0], SOL_SOCKET, SO_RCVTIMEO, &my_orig_tv, sizeof(struct timeval) );
393 if ( my_err == -1 ) {
400 my_err = fsync( my_sockets[0] );
401 if ( my_err == -1 && errno != ENOTSUP ) {
405 else if ( my_err != -1 ) {
444 my_err = select( (my_sockets[1] + 1), &my_read_set, NULL, NULL, &my_timeout );
445 if ( my_err == -1 ) {
449 else if ( my_err > 0 ) {
459 my_err = poll( &my_pollfd, 1, 500 );
460 if ( my_err == -1 ) {
516 my_err = 0;
520 my_err = -1;
527 return( my_err );