commit | c16a02d6f5fcfe05dc6fd40aa80a8e1d055300db | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Fri Sep 29 02:01:21 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 29 09:18:22 2006 -0700 |
tree | 9335cbe024a12723395a92f5aeca7111700a0766 | |
parent | fdf8cb0909b531f9ae8f9b9d7e4eb35ba3505f07 [diff] |
[PATCH] Add section on function return values to CodingStyle This patch (as776) adds a new chapter to Documentation/CodingStyle, explaining the circumstances under which a function should return 0 for failure and non-zero for success as opposed to a negative error code for failure and 0 for success. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>