Thread: ANSI - working with directories

  1. #1
    Registered User sean345's Avatar
    Join Date
    Mar 2002

    ANSI - working with directories

    Is there an ANSI was to get the current directory and change directories. I am using LCC-WIN32 and I notice it has functions in direct.h like getcwd to get the current directory. I was wondering if these were ANSI.


    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    ANSI-C does not have anything to do with file systems - so any file system functions would be OS specific.

    The next best standard to go for is POSIX, which does specify a lot of things relating to operating systems.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ANSI C Reference
    By Stack Overflow in forum A Brief History of
    Replies: 1
    Last Post: 03-09-2005, 10:08 PM
  2. how closely does 2003 follow ANSI?
    By krygen in forum C++ Programming
    Replies: 7
    Last Post: 09-22-2004, 06:48 PM
  3. sigaction() and ANSI C
    By awoodland in forum Linux Programming
    Replies: 4
    Last Post: 04-25-2004, 01:48 AM
  4. Replies: 5
    Last Post: 10-09-2002, 12:37 PM
  5. Working with directories...
    By C Seņor in forum C Programming
    Replies: 4
    Last Post: 04-20-2002, 11:45 AM