It seems that a lot of homebrew software does not properly handle resuming from standby mode. It is my understanding that this is caused by the kernel closing all open file handles, and not opening them during the resume operation.
I know there is a sample application that shows how to install the standby/resume callback. However, it seems like the best place to save and restore the state of all of the open files would be in the standard c library.
Special routines in the c library would then be called from the standby/resume callback to save/restore the state of the open file handles...
Of course if an application made a direct call to sceIoOpen() it would be on it's own...
Does this approach make sense or is there a more elegant solution?
-Sharkus
P.S. Anyone know the difference between Standby and Suspend modes?
[/code]