Re: Doubt
From: Esteve Espuña Sargatal
Date: Mon Jun 28 2004 - 14:00:45 EST
Example from arch/i386/kernel/kgdb_stub.c:
#include <asm/string.h> /* for strcpy */
static char remcomOutBuffer[BUFMAX];
strcpy(remcomOutBuffer, "OK");
Hope it's ok.
On Mon, 2004-06-28 at 20:43, so usp wrote:
> Hi...
>
> i would like to know how to copy a string such as
> "Test" to a char vector (char buffer[256]) in kernel
> mode.
>
> Thanks,
> Luis Henrique.
>
> ______________________________________________________________________
>
> Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
> http://br.info.mail.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/