Lines Matching defs:error
211 * than we can deal with, return a "local error."
226 if ( errmsg != NULL ) { /* local socket error */
250 int n, error;
278 error = 0;
343 len = sizeof(error);
344 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char *)&error, &len)
357 perror("select error: SOCKET_ERROR returned");
406 perror("select error: ");
414 len = sizeof(error);
415 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char *)&error, &len)
420 perror("select error: sockfd not set");
432 if (error) {
433 errno = error;
469 * zero is returned upon success, -1 if fatal error, -2 EINPROGRESS
533 * Returns a socket number if successful and -1 if an error occurs.
767 #error XXXmcs: need to use DNS callbacks here
781 * Returns 0 if all goes well and -1 if an error occurs (error code set in ld)
833 * Returns 0 if all goes well and -1 if an error occurs (error code set in ld)
884 * Returns 0 if all goes well and -1 if an error occurs (error code set in ld)
967 * or when another error occurs. The actual error will be
1013 * or when another error occurs. The actual error will be
1043 * Returns 0 if all goes well and -1 if not (sets error in ld)
1585 if ( rc <= 0 ) { /* timeout or fatal error */
1759 * Return an LDAP error code (LDAP_SUCCESS if all goes well).