[rtl] Error with sem_getvalue function

2001-10-22 Thread David Hamilton
This is a bug report for fsmlabs regarding RTLinux3.1 (at least) The semaphore function .. int sem_getvalue(sem_t* sem, int* sval) is supposed to write the semaphore value to the int pointed to by sval, and return an error code. Instead, it doesn't write anything to sval, and returns the

Re: [rtl] Error with sem_getvalue function

2001-10-22 Thread Victor Yodaiken
Thanks. On Mon, Oct 22, 2001 at 02:13:13PM +0100, David Hamilton wrote: This is a bug report for fsmlabs regarding RTLinux3.1 (at least) The semaphore function .. int sem_getvalue(sem_t* sem, int* sval) is supposed to write the semaphore value to the int pointed to by sval, and return