It is currently Tue, 28 Sep 2021 11:25:28 GMT



 
Author Message
 POSIX question about error returns from system functions

Does -1 always indicate an error in POSIX system calls?  This seems odd to
me, as far as ANSI and ISO standards are concerned.  I have read a post in
comp.lang.c stating that this was the case, and I have no POSIX reference to
check.
--
Hypertext C-FAQ: http://www.**-**.com/ ~scs/C-faq/top.html
C-FAQ ftp: ftp://rtfm.mit.edu, C-FAQ Book: ISBN 0-201-84519-9
Try "C Programming: A Modern Approach" ISBN 0-393-96945-2
Want Software?  Algorithms?  Pubs? http://www.**-**.com/



 Mon, 09 Oct 2000 03:00:00 GMT   
 
   [ 1 post ] 

Similar Threads

1. POSIX system call interface and POSIX standard: questions

2. POSIX newbie: POSIX function calls

3. posix message queues and other posix functions

4. functions that return the system time in Solaris2.6

5. Return value of system function

6. What function returns the system load?

7. What function returns the system load?

8. How to catch error returned from shell function

9. help: preserving error return codes thru function codes

10. About function that returns function pointer


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software