forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Support on chmod, umask ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Tue May 30, 2006 3:24 am    Post subject: Support on chmod, umask ? Reply with quote

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
View user's profile Send private message
groepaz



Joined: 01 Sep 2005
Posts: 305

PostPosted: Tue May 30, 2006 4:29 am    Post subject: Reply with quote

cant you just stub out these two? its not like fat supports it anyway :)
_________________
http://www.hitmen-console.org
http://hitmen.c02.at/files/yapspd/
Back to top
View user's profile Send private message Visit poster's website
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Tue May 30, 2006 4:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group