73 working through oating point representations for

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: tex_unlock(pthread_mutex_t *mutex); /* Condition variable wrappers */ void Pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *attr); void Pthread_cond_signal(pthread_cond_t *cond); void Pthread_cond_broadcast(pthread_cond_t *cond); void Pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); int Pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, struct timespec *abstime); /* Sockets interface wrappers */ int Socket(int domain, int type, int protocol); void Setsockopt(int s, int level, int optname, const void *optval, int optlen); void Bind(int sockfd, struct sockaddr *my_addr, int addrlen); void Listen(int s, int backlog); int Accept(int s, struct sockaddr *addr, int *addrlen); void Connect(int sockfd, struct sockaddr *serv_addr, int addrlen); /* DNS wrappers */ struct hostent *Gethostbyname(const char *name); struct hostent *Gethostbyaddr(const char *addr, int len, int type); /* Stevens’s socket I/O functions (UNP, Sec 3.9) */ ssize_t readn(int fd, void *vptr, size_t n); ssize_t writen(in...
View Full Document

Ask a homework question - tutors are online