lkml.org 
[lkml]   [2004]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] cosa.h ioctl numbers
    From
    Date
    Jan Kasprzak <kas@fi.muni.cz> writes:

    > Andreas Schwab wrote:
    > : If you want real compatibility you should use size_t, which is what 2.4 is
    > : effectively using.
    > :
    > I assume that sizeof(struct .. *) == sizeof(size_t) on i386.

    This has nothing to do with this, but everything to do with
    sizeof(sizeof(foo)) == sizeof(size_t). And COSAIODOWNLD does not expect a
    pointer to a pointer but a pointer to struct cosa_download, which means
    that _IOW('C',0xf2,struct cosa_download *) would be completely wrong
    anyway.

    Andreas.

    --
    Andreas Schwab, SuSE Labs, schwab@suse.de
    SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
    Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
    "And now for something completely different."
    -
    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-03-22 14:08    [W:0.024 / U:1.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site