| View previous topic :: View next topic |
| Author |
Message |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Tue May 30, 2006 3:24 am Post subject: Support on chmod, umask ? |
|
|
Hi, I'm working on porting a large segment of c++ code to the PSP platform, and have got it compiling, however it falls down at the linker.
It uses the POSIX (fopen,fread) functions for io, but there are a couple of functions missing:
chmod()
umask()
Including #include <sys/stat.h> has not solved the linker issues.
Chmod is non-essential (I think), but umask() is used in several places, and i'd prefer to support it if possible, rather than butchering it out and hoping it still works OK.
Thanks. |
|
| Back to top |
|
 |
groepaz

Joined: 01 Sep 2005 Posts: 305
|
|
| Back to top |
|
 |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Tue May 30, 2006 4:47 am Post subject: |
|
|
That's what i've done for the time being. I'm hoping it isn't needed in the functions I need to use.
Is there any way to use utime.h? I may have a use for being able to modify file dates. It could be useful for re-organising your homebrew into alphabetical order in the XMB. |
|
| Back to top |
|
 |
|