Mail Archives: djgpp-workers/1998/02/14/13:47:36
> Also, I assume that Unix means BSD--are there any differences among
> major Unix flavors that will actually make a difference?
Ha! There is a *lot* of difference. For example, SunOS free() takes
a char* not a void*, so you can't pass it just any pointer, and you
can't even cast to void* to make it work! You have to cast to char*.
This is what POSIX tried to solve. The X/Open stuff also tried.
Check out gnu's autoconf to see what kinds of things they have to test
for just to keep things working across unix platforms!
There are two major Unix flavors - BSD and SYSV. I think SYSV is more
like POSIX, but BSD covers Linux, BSDs, FreeBSD, SunOS, etc. It's a
mess.
- Raw text -