Thread: dir.h for linux

  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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.

  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,336
    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, 01:24 PM