dirent.h d_name

This is a discussion on dirent.h d_name within the C Programming forums, part of the General Programming Boards category; When using the dirent.h package, i am trying to manipulate the d_name char array but getting errors every time. Does ...

  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, 07:51 AM
  2. Directories and files using dirent.h
    By totalnewbie in forum C Programming
    Replies: 6
    Last Post: 11-19-2008, 04:10 PM

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