Search:

Type: Posts; User: forumuser06

Search: Search took 0.00 seconds.

  1. Thread: file size

    by forumuser06
    Replies
    1
    Views
    1,514

    file size

    How do I decrease the file size?

    I have increased the file size with
    lseek(fd, size, SEEK_SET);
    write(fd,"",1);

    Now, how would I decrease the same file?
  2. Thread: mremap

    by forumuser06
    Replies
    2
    Views
    1,460

    mremap

    Hi,

    anyone knows if mremap round off the new_memory parameter or it has to be done manually?
  3. Thread: mmap

    by forumuser06
    Replies
    1
    Views
    1,887

    mmap

    Hi,

    I need to mmap a file so that I can grow and shrink it as needed. In addition to using mremap, the actual file size needs to be modified as well. I do not know how to change the file size, but...
Results 1 to 3 of 3