Thread: dirent.h d_name

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    5

    dirent.h d_name

    When using the dirent.h package, i am trying to manipulate the d_name char array but getting errors every time.

    Does anyone know how to successfully manipulate the d_name char array as if it were a regular string?

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What are you trying to do? Are you per chance adding text into the d_name data?

    Perhaps you can post some code?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to use this part of dirent.h
    By kermit in forum Linux Programming
    Replies: 2
    Last Post: 01-31-2009, 08:51 AM
  2. Directories and files using dirent.h
    By totalnewbie in forum C Programming
    Replies: 6
    Last Post: 11-19-2008, 05:10 PM