lkml.org 
[lkml]   [2005]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][CFLART] ipmi procfs bogosity
    On Thu, Sep 01, 2005 at 03:00:44PM -0500, Corey Minyard wrote:
    > To me, It's a lot nicer to do:
    >
    > rv = user_strtoul(....);
    > if (rv < 0)
    > return rv;
    >
    > Plus the scanning function I wrote handles arbitrary leading and
    > trailing space, etc. Not a big deal, but a little nicer.

    You can say from the beggining that

    echo -n " 2 " >/proc/FUBAR

    is illegal and don't add bloat to kernel.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-09-01 22:23    [W:0.046 / U:34.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site