All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: Manuel Krause <manuelkrause@netscape.net>
Cc: darren <teodarren@myrealbox.com>,
	reiserfs-list <reiserfs-list@namesys.com>
Subject: Re: OT: simple file operations in C
Date: Mon, 10 Mar 2003 15:20:11 +0300	[thread overview]
Message-ID: <3E6C82FB.4040909@namesys.com> (raw)
In-Reply-To: <3E6C1673.709@netscape.net>

On 03/10/2003 04:33 AM, darren wrote:

> Hi all,
>
> Sorry for being slightly off-topic.
>
> I want my program to be able copy, move and delete files, but i cannot 
> seem to find any available functions or system calls to do this.
>
> I don't really want to use shell by invoking "exec("mv XX YYY");, and 
> i also do not want to fopen 2 files and then do multiple freads and 
> fwrites.
>
> Any suggestions?


Unlink and rename will delete and remove, but copying you cannot do in 
Unix in a single system call until we release sys_reiser4()

-- 
Hans



  reply	other threads:[~2003-03-10 12:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10  3:33 OT: simple file operations in C darren
2003-03-10  4:37 ` Manuel Krause
2003-03-10 12:20   ` Hans Reiser [this message]
2003-03-10 13:57   ` darren
  -- strict thread matches above, loose matches on Subject: below --
2003-03-10  3:33 darren
2003-03-10  8:02 ` Valdis.Kletnieks
2003-03-10 11:47   ` Heinz-Josef Claes
2003-03-10 22:35     ` Zygo Blaxell
2003-03-10  3:34 darren

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=3E6C82FB.4040909@namesys.com \
    --to=reiser@namesys.com \
    --cc=manuelkrause@netscape.net \
    --cc=reiserfs-list@namesys.com \
    --cc=teodarren@myrealbox.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.