Saturday, May 22, 2010

Download sem.h??

where i can download the C library file shm.h , sem.h , ipc.h , types.h????

Download sem.h??
Look, why do you need to download it and which version of it do you need? I honestly believe that all those files are part of the C standard, which means they come with any compiler, however if you open them up, you will find everything from an M$ copyright notice to references to the Gnu Public License (copyleft). And the differences go beyond that, slightly.





An .h file is a C header file -- not a C library file. It is a text file which declares functions, that is gives the function name, return value, and expected parameters if any. It is paired with a library file which implements the functions declared in the header file. While it is text, it is used by the compiler itself. That means extra characters and so forth are going to make your program jump up and die, so if you want to know what is in it you use a file viewer rather than text editor (in MS-DOS use the "type" command with "| more"). If you need to use it for anything else that may just be a problem with whatever program you are using. Download and install any C compiler, and look in your /include/sys directory (I'm on Linux: technically here it is /usr/include/sys but the include directory, is usually close to your compiler's /bin directory.)





If you downloaded a compiler and don't have it, then either the download was farped or the compiler is.


No comments:

Post a Comment