open files without fopen()

This is a discussion on open files without fopen() within the C Programming forums, part of the General Programming Boards category; Hi, I was just wondering, is there a way to open files withot using fopen() ?? If there is, please ...

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    22

    open files without fopen()

    Hi,
    I was just wondering, is there a way to open files withot using fopen() ??

    If there is, please tell me it's syntax and if it has any opening modes like a,r,w,a+,r+, etc...

    Thanks in advance!!!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,485
    Does open() count, or whatever file open command native to your platform is available.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Feb 2013
    Posts
    22
    Thanks! open() is good!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can't open two files at once, 2nd fopen fails
    By jeffmarc in forum C Programming
    Replies: 3
    Last Post: 09-18-2009, 03:06 PM
  2. open, fopen ?
    By Matrim in forum C Programming
    Replies: 2
    Last Post: 02-01-2005, 08:45 AM
  3. open or fopen?
    By Tibo in forum C Programming
    Replies: 2
    Last Post: 03-27-2003, 09:14 AM
  4. fopen() and open()
    By Encrypted in forum C Programming
    Replies: 8
    Last Post: 02-09-2003, 03:57 PM
  5. fopen vs open
    By rotis23 in forum Linux Programming
    Replies: 5
    Last Post: 12-10-2002, 01:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21