September 12th, 2013, 02:49 PM
What can return EINTR?
What functions can return EINTR?
September 12th, 2013, 03:01 PM
And usually the question is "what errors could this function that I'm using throw?"
And out of curiosity, did you mean "Baal" instead of "ball"?
September 12th, 2013, 03:17 PM
Normally no standard or system specific function would return this value, rather when a function fails errno may be set to this value.
I cannot see any advantage in enumerating all the functions that might result in errno = EINTR, a more useful approach would be to read the documentation for any function you choose to use and if it throws EINTR you might want to handle it.
However if you really must, the method I would use to generate such a list is to use a Google site search of a site that documents the POSIX API; for example EINTR SYNOPSIS site:opengroup.org
Last edited by clifford; September 12th, 2013 at 03:25 PM.
September 26th, 2013, 03:52 PM
I'm making fun of the name baal (he was a gould on stargate.)
I was just confused why some functions returned EINTR and some did not (and a couple of other points.)
September 28th, 2013, 07:34 AM
That is not what you asked; rather you asked for a list of functions. I am not sure haow that would help. The answer to the question you should have asked perhaps is here.
Originally Posted by ballsystemlord