"A few system calls (e.g., getpriority()) can legitimately return –1 on success. To determine whether an error occurs in such calls, we set errno to 0 before the call, and then check it afterward. If the call returns –1 and errno is nonzero, an error occurred."
0
0
1
51
0
Download Gif