|
> > Stupid ? Yes, Emulates UNIX ? Yes > > What more can I say. > Yes, and for another example the inet_addr() API returns an > unsigned int and indicates (unsuccessful) with a defined return > value of -1. Takes a couple tries to catch on to it if you're new to sockets. > Why does it work that way? Because that's the way Unix does it. Thankfully they left it as is - who knows how many hours I/others would have wasted when porting Unix code to the AS/400 if they *had* tried to iron out these funnies. [ Deleted uuencoded file 'winmail.dat' ]
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.