This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to erase fds previous data

i have done read and write operations on fds with dummy buffer. now when im writing new data into fds it is showing the previous data .can anyone give the function to erase the fds of previous data.

Parents Reply Children
  • So actually the fds writes but does not exactly clear out the previous data and at one point unless the fds_gc() function is used it does not write new data and halts at app_error_check.

    What I did was that if I got error 0x07 at app error check upon fds write, I would call the fds_gc() function. You can even check the amount of garbage collection and clear it at your will too.

    so the trick is to use this function!

Related