Fractional value when b is 0 and when b is a

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: ptr, size_t size, size_t nmemb, FILE *stream); /* Dynamic storage allocation wrappers */ void *Malloc(size_t size); void *Calloc(size_t nmemb, size_t size); void Free(void *ptr); /* Thread control wrappers */ void Pthread_create(pthread_t *tidp, pthread_attr_t *attrp, void * (*routine)(void *), void *argp); void Pthread_join(pthread_t tid, void **thread_return); void Pthread_cancel(pthread_t tid); void Pthread_detach(pthread_t tid); void Pthread_exit(void *retval); pthread_t Pthread_self(void); /* Semaphore wrappers */ void Sem_init(sem_t *sem, int pshared, unsigned int value); void P(sem_t *sem); A.4. THE CSAPP.H HEADER FILE 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 673 void V(sem_t *sem); /* Mutex wrappers */ void Pthread_mutex_init(pthread_mutex_t *mutex, pthread_mutexattr_t *attr); void Pthread_mutex_lock(pthread_mutex_t *mutex); void Pthread_mu...
View Full Document

Ask a homework question - tutors are online