dir.h for linux

This is a discussion on dir.h for linux within the Linux Programming forums, part of the Platform Specific Boards category; hi I need dir.h for linux or something like this?...

  1. #1
    Registered User arastoo.s's Avatar
    Join Date
    Aug 2009
    Posts
    15

    Unhappy dir.h for linux

    hi
    I need dir.h for linux or something like this?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,496
    opendir()
    readdir()
    closedir()
    All in dirent.h
    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 arastoo.s's Avatar
    Join Date
    Aug 2009
    Posts
    15
    Tnx Salem

  4. #4
    Registered User arastoo.s's Avatar
    Join Date
    Aug 2009
    Posts
    15
    mkdir() not work in dirent.h ????!!!!!!! (please help me)
    and i need ask one ?
    what is the findfirst() ?




    TNX
    .................................
    (Sory i can't speak en very will ) i hope Excuse me for i can speak en very will)

  5. #5
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    FindFirstFile is a Windows-ism, and is not there on linux. (Or at least I would be very surprised to see it there.)

    According to the man files on t'internet, mkdir is in <sys/stat.h>.

  6. #6
    Registered User arastoo.s's Avatar
    Join Date
    Aug 2009
    Posts
    15
    tabstop >> tnx for help

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Is this a compiler Issue?
    By kinghajj in forum C Programming
    Replies: 8
    Last Post: 07-17-2003, 05:06 AM
  2. my MS vC++ compiler does not have DIR.H, can't find on the web...HELP
    By andre in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-03-2002, 12:24 PM

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