ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/posix_sem.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/posix_sem.cpp (file contents):
Revision 1.8 by gbeauche, 2005-11-22T21:53:24Z vs.
Revision 1.9 by gbeauche, 2005-11-22T21:57:59Z

# Line 136 | Line 136 | int sem_post(sem_t* sem)
136  
137   int sem_getvalue(sem_t* sem, int* sval)
138   {
139 <        *sval = sem->sem_value;
140 <        return 0;
139 >        errno = ENOSYS;
140 >        return -1;
141   }
142  
143   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines