linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Steve Schmidtke <steve_schmidtke@hotmail.com>
Cc: User-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: cleanup file io
Date: Fri, 05 Sep 2003 15:00:08 -0400	[thread overview]
Message-ID: <200309051900.h85J09dM017914@ccure.karaya.com> (raw)
In-Reply-To: Your message of "Thu, 04 Sep 2003 05:11:11 -0000." <BAY7-F82eujjeHdzXT60000f1c9@hotmail.com>

steve_schmidtke@hotmail.com said:
> i.e. wrap bare file functions into their os_* counterparts, and remove
>  unnecessary references to errno? 

I'd love such a patch.

> Also, is there a style reason some functions like the one above return
> -1  rather than -errno or the failed (negative) return value from the
> os_*  functions?  I'd like to standardize one style or the other while
> I'm at it,  if that's workable. 

I'd like to stick to the convention that success == 0, failure == -errno.
I just fixed a bug with os_seek_file that resulted from a misunderstanding
between me and myself on that issue.

				Jeff


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2003-09-05 19:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04  5:11 [uml-devel] cleanup file io Steve Schmidtke
2003-09-05 19:00 ` Jeff Dike [this message]

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=200309051900.h85J09dM017914@ccure.karaya.com \
    --to=jdike@addtoit.com \
    --cc=User-mode-linux-devel@lists.sourceforge.net \
    --cc=steve_schmidtke@hotmail.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 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).