I have been looking around in the Php manual and I have found the functions I need for my next project.

shmop etc for shared memory.

But I would also like to incorporate a function similar to C's errno in <errno.h>. But the error handlers that I found in the manual seemed to be tied to a certain retrieval method (opening a file, or a database).

Please don't try and do it for me, I just want to know if the functionality is out there and where

Class project afterall (even though its supposed to be written in C )