From: Bob Harris <nospam.News.Bob@remove.Smith-Harris.us>
Subject: Re: link
Date: Thu, 02 Jun 2005 00:46:13 GMT [thread overview]
Message-ID: <nospam.News.Bob-EB985D.20461301062005@news.verizon.net> (raw)
In-Reply-To: 1117653227.936766.7270@f14g2000cwb.googlegroups.com
In article <1117653227.936766.7270@f14g2000cwb.googlegroups.com>,
"lynda" <lyndamccrum@yahoo.co.uk> wrote:
> Can anyone tell me how i would do this command
>
> Create a soft link in progs called mylink2, which is a absolute soft
> link to the thismonth file in your home directory.
>
> progs is in the work dirctory.
>
> Thanx
>
> Lynda
if you are talking about link(), then this creates hardlinks. Softlinks
are created by symlink()
status = symlink("contents_of_symlink", "symlink_name");
if ( status != 0 ) {
perror("symlink_name");
exit(EXIT_FAILURE);
}
prev parent reply other threads:[~2005-06-02 0:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-01 19:13 link lynda
2005-06-02 0:46 ` Bob Harris [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox