ANSI - working with directories

This is a discussion on ANSI - working with directories within the C Programming forums, part of the General Programming Boards category; Is there an ANSI was to get the current directory and change directories. I am using LCC-WIN32 and I notice ...

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

    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.

    Thanks

    - 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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    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 Cprogramming.com
    Replies: 1
    Last Post: 03-09-2005, 09:08 PM
  2. how closely does vc++.net 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

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