Hi everybody,
first of all i apologize if my thread's title doesn't make much sense,but i coudn't find a more appropriate name
Then i apologize about my question,which probably will sound trivial for you
I am working on a program which is being tested in Linux but the final target is a VxWorks system.
So far,i am in the test phase,so i'm fighting ( ) with linux.Since I am a newbie to unix programming,every time i use some new library functions i wonder:will it be supported in VxWorks?
Now i ask you:is there a common set of libraries for the various unices? Obviously my attention i concentrated on the linux-vxworks couple,but any advice is welcome
This has been a problem with UNIX over time - different "parentage" of a unix system may mean using different system calls. There have been a lot of attempts to get past this problem. POSIX (or SUSVn - the Single UNIX Specification Version nn) is one.
Note - POSIX does not attempt to deal with any implementation specifics, it just says this function() will do this. If you stick with POSIX as much as possible, porting is much less of a problem. It does not make it go away altogether.
VxWorks is a realtime system - I do not think POSIX will help that much - but I do not know VxWorks.
libc is the standard C library and since most of the vendors follow the POSIX std it should have all the common ones you need though I am not sure I understand you fully. Are there certain functions you are looking for given that VxWorks is an RTOS and it may have some unusual and stringent response time requirements.