Lines Matching defs:sock_fd
90 static int *sock_fd;
320 sock_fd = NULL;
361 free(sock_fd);
363 sock_fd = NULL;
415 free(sock_fd);
488 * Any file descriptors that have been created are stored in sock_fd and
531 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int));
532 if (sock_fd == NULL)
534 sock_fd[sock_fdcnt++] = -1; /* Set invalid for now. */
647 sock_fd[sock_fdcnt - 1] = fd;
722 fd = sock_fd[sock_fdpos++];
801 if (sock_fd[i] >= 0) {
802 shutdown(sock_fd[i], SHUT_RDWR);
803 close(sock_fd[i]);