All of lore.kernel.org
 help / color / mirror / Atom feed
From: xmp <xmp@multipasto.net.co>
To: linux-c-programming@vger.kernel.org
Subject: Misc C question
Date: Wed, 19 Jun 2002 21:46:02 -0500	[thread overview]
Message-ID: <20020619214332.A299@nietzsche> (raw)

hi, What is the correct unix-style way to check if a file exists ? create it ? and delete it ?.
Maybe trying to fopen() it and if call != NULL it exist, else it doesnt?.
I want to know the most standard and used in system such as FreeBSD and solaris, linux.

bye



             reply	other threads:[~2002-06-20  2:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-20  2:46 xmp [this message]
2002-06-20  3:10 ` Misc C question mike
2002-06-20  4:44   ` xmp
2002-06-20  5:08     ` mike
2002-06-20 12:46       ` William N. Zanatta
2002-06-20  6:28 ` Oleg O. Ossovitskii
2002-06-20  8:05   ` Mohammed Khalid Ansari
2002-06-20  8:51     ` Re[2]: " Oleg O. Ossovitskii
2002-06-20 13:23 ` Glynn Clements
2002-06-20 20:42   ` GOMEZ NOGUERA DAVIDEDUARDO
2002-06-20 21:53     ` James Stevenson
2002-06-20 23:24     ` Glynn Clements
2002-06-21  0:07       ` Christopher Quinn
2002-06-20 23:24     ` Glynn Clements
2002-06-20 18:09 ` James Stevenson

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=20020619214332.A299@nietzsche \
    --to=xmp@multipasto.net.co \
    --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 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.