Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: undefined reference to `link' |
| Date | 2011-11-03 17:17 -0700 |
| Organization | None to speak of |
| Message-ID | <lnpqh8g2re.fsf@nuthaus.mib.org> (permalink) |
| References | (2 earlier) <j8p55i$v4p$1@dont-email.me> <j8p6gh$989$1@dont-email.me> <2e64bfb7-d656-4a54-a5f1-3c0e18243e6b@n38g2000yqm.googlegroups.com> <lnwrbigrhb.fsf@nuthaus.mib.org> <3ff6a68a-96f4-45e4-82fe-cc3f35a3a2ee@hv4g2000vbb.googlegroups.com> |
jgharston <jgh@arcade.demon.co.uk> writes:
> Keith Thompson wrote:
>> jgharston wrote:
>> > If you're using link/unlink to rename a file, the stdio library
>> > contains the standard rename() function.
>>
>> rename() doesn't do what the Unix link() system call does.
>
> That's why I wrote "If you're using link/unlink to rename a file..."
Ok, I didn't pay enough attention to the context.
But why would you use link and unlink to rename a file in the first
place? rename() exists both as a Unix system call and as a standard C
library function.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-01 23:41 +0800
Re: undefined reference to `link' Mark Bluemel <mark_bluemel@pobox.com> - 2011-11-01 15:46 +0000
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-02 00:01 +0800
Re: undefined reference to `link' Mark Bluemel <mark_bluemel@pobox.com> - 2011-11-01 16:21 +0000
Re: undefined reference to `link' jgharston <jgh@arcade.demon.co.uk> - 2011-11-02 04:43 -0700
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-02 14:10 -0700
Re: undefined reference to `link' jgharston <jgh@arcade.demon.co.uk> - 2011-11-03 17:08 -0700
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-03 17:17 -0700
Re: undefined reference to `link' gordonb.hsqhk@burditt.org (Gordon Burditt) - 2011-11-03 23:11 -0500
Re: undefined reference to `link' gordonb.d5wxg@burditt.org (Gordon Burditt) - 2011-11-02 16:28 -0500
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-02 15:30 -0700
Re: undefined reference to `link' gordonb.wk71i@burditt.org (Gordon Burditt) - 2011-11-02 19:33 -0500
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-02 19:24 -0700
Re: undefined reference to `link' Acid Washed China Blue Jeans <chine.bleu@yahoo.com> - 2011-11-01 10:02 -0700
Re: undefined reference to `link' gordonb.ztlqg@burditt.org (Gordon Burditt) - 2011-11-02 19:46 -0500
Re: undefined reference to `link' Seebs <usenet-nospam@seebs.net> - 2011-11-03 18:35 +0000
Re: undefined reference to `link' Kaz Kylheku <kaz@kylheku.com> - 2011-11-03 19:56 +0000
Re: undefined reference to `link' Keith Thompson <kst-u@mib.org> - 2011-11-03 14:04 -0700
Re: undefined reference to `link' Seebs <usenet-nospam@seebs.net> - 2011-11-03 21:45 +0000
Re: undefined reference to `link' Acid Washed China Blue Jeans <chine.bleu@yahoo.com> - 2011-11-03 15:53 -0700
Re: undefined reference to `link' Mike Manilone <zhtx10@gmail.com> - 2011-11-02 04:42 +0000
Re: undefined reference to `link' Geoff <geoff@invalid.invalid> - 2011-11-03 14:52 -0700
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-04 08:19 +0800
Re: undefined reference to `link' Geoff <geoff@invalid.invalid> - 2011-11-03 21:32 -0700
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-04 13:25 +0800
Re: undefined reference to `link' Jinsong Zhao <jszhao@yeah.net> - 2011-11-04 13:28 +0800
Re: undefined reference to `link' Geoff <geoff@invalid.invalid> - 2011-11-03 23:01 -0700
Re: undefined reference to `link' Kaz Kylheku <kaz@kylheku.com> - 2011-11-03 02:40 +0000
csiph-web