User Profile

Collapse

Profile Sidebar

Collapse
paleman
paleman
Last Activity: Jul 18 '10, 04:11 PM
Joined: Mar 27 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • paleman
    started a topic sbrk function on Windows
    in C

    sbrk function on Windows

    Is there a sbrk function on Windows, if there is what is the name of the header where it is defined?
    See more | Go to post

  • paleman
    replied to Open Directory In C, Return File Descriptor
    in C
    I would only use it for checking weather is it a directory or not with 'fstat' function.I guess I just use 'stat' than.You are right, there are other functions, like FindFirstFile/FindNextFile.
    See more | Go to post

    Leave a comment:


  • paleman
    started a topic Open Directory In C, Return File Descriptor
    in C

    Open Directory In C, Return File Descriptor

    Hi.
    I'm trying to write my own version of opendir function on Windows XP.Within that function I'm calling open function:
    Code:
    fd = open(path, O_RDONLY, 0);
    and this fails when path points to a directory.
    Does anyone know how to open a directory on Win OS so it returns a file descriptor to it.Maybe open should be given another parameters or some other function exists that I don't know of.
    See more | Go to post
No activity results to display
Show More
Working...