lkml.org 
[lkml]   [2004]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Problems compiling kernel modules
    From
    Date
    On Sat, 2004-08-21 at 16:46, Lei Yang wrote:
    > What about multi-file module?
    >
    > Say test.c doesn't include stdio.h, while there is some other .c file
    > which is to be compiled and linked into test.ko, include stdio?
    >
    > Would that work?
    >

    Are you just trying to print from a kernel module? Use printk.

    The kernel does not really have its own standard input and standard
    output - the kernel manages those things for processes.

    Lee

    -
    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:05    [W:0.021 / U:0.524 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site