From: dalgoda@ix.netcom.com (Mike Castle)
To: linux-c-programming@vger.kernel.org
Subject: Re: getline()
Date: Sun, 24 Aug 2003 23:24:40 -0700 [thread overview]
Message-ID: <8mmo11x75q.ln2@thune.mrc-home.org> (raw)
In-Reply-To: 20030824215956.GF25257@schottelius.org
In article <20030824215956.GF25257@schottelius.org>,
Nico Schottelius <nico-linux-c-programming@schottelius.org> wrote:
>> getline() is in libc. The prototype is in stdio.h, but you may need to
>> use -D_GNU_SOURCE to enable it.
>
>..and then you won't be able to use it with the dietlibc anymore...
Why? If you use getline(), you should be providing your own version for
systems that don't have it. If they have it, great, use the system
version, if they don't, use yours.
mrc
--
Mike Castle dalgoda@ix.netcom.com www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
next prev parent reply other threads:[~2003-08-25 6:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-24 14:36 getline() Progga
2003-08-24 16:01 ` getline() J.
2003-08-24 21:32 ` getline() Glynn Clements
2003-08-24 21:59 ` getline() Nico Schottelius
2003-08-25 6:24 ` Mike Castle [this message]
2003-08-25 12:43 ` getline() Michael Taylor
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=8mmo11x75q.ln2@thune.mrc-home.org \
--to=dalgoda@ix.netcom.com \
--cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).