[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] eventfd - revised interface and cleanups (2nd rev)
    On Tue, 23 Jun 2009, Andrew Morton wrote:

    > > Should functions be describing all the returned error codes, ala man pages?
    > >
    > I think so.

    This becomes pretty painful when the function calls other functions, for
    which just relays the error code.
    Should we be just documenting the error codes introduced by the function
    code, and say that the function returns errors A, B, C plus all the ones
    returned by the called functions X, Y, Z?
    If not, it becomes hell in maintaining the comments...

    - Davide

     \ /
      Last update: 2009-06-23 23:45    [W:0.020 / U:10.716 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site