From: "Esteve Espuña Sargatal" <esteve@eslack.org>
To: linux-kernel@vger.kernel.org
Subject: Re: Doubt
Date: Mon, 28 Jun 2004 20:59:31 +0200 [thread overview]
Message-ID: <1088449171.7289.3.camel@esteve.pofhq.net> (raw)
In-Reply-To: <20040628184345.18629.qmail@web90103.mail.scd.yahoo.com>
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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2004-06-28 18:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-28 18:43 Doubt so usp
2004-06-28 18:59 ` Esteve Espuña Sargatal [this message]
2004-06-28 19:58 ` Doubt Christophe Saout
-- strict thread matches above, loose matches on Subject: below --
2004-12-29 23:52 doubt durgam
2004-06-25 19:14 Doubt so usp
2004-06-26 14:05 ` Doubt Gard Spreemann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1088449171.7289.3.camel@esteve.pofhq.net \
--to=esteve@eslack.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®