|
>> > 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. You're right about that probably Phil, however I don't think it would have broken anything for a *PGM object in QSYS.LIB to behave consistently across the whole machine. Even when touching things in QOpenSys directory. If my program was compiled by QGOD and Adopts authority, It should have the same ability and behavior regardless of who the authorized user id is running that program and regardless of what object it touches in the Integrated(?) File System. >> > Stupid ? Yes, Emulates UNIX ? Yes >> > What more can I say. MHO John Carr
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.