Am 03.09.2012 11:31, schrieb Joachim Schmitz:
> Hmm, I see that there the errors are handled differently, like this:
> if (ovalue != NULL)
> return errno = EINVAL,
> error("setitimer param 3 != NULL not implemented");
> Should this be done in my setitimer() too? Or rather be left to the caller?
> I tend to the later.
The error message is really just a reminder that the implementation is
not complete. Writing it here has the advantage that it is much more
accurate than a generic "invalid argument" or "operation not supported"
error that the caller would be able to write.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html