Redlib __sys_tmpnam help

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Redlib __sys_tmpnam help

712 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jonper on Wed Mar 19 07:10:54 MST 2014
Hi

We are using a custom LCP4357 board with LPCOpen 2.09 and LPCXpresso v7.0.2 running on a Win7SP1 box to code syscall functions to interface Redlib (nohost) to POSIX functions on a custom FAT file system using the prototypes and definitions in Redlib's <sys/libconfig-arm.h>.

All of the syscalls seem to be working except Redlib's tmpfile which calls __sys_tmpnam both during the tmpfile call (as expected) and then later when that temporary file is closed. We have the first part working, but I can't deduce from the prototype what our actions and return value should be in response to the later __sys_tmpnam call on closing.

Do you have a document or code clip that could clear this up. Better still, do you have any such documents for the other Redlib syscalls?

Thanks
0 Kudos
Reply
1 Reply

694 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Mar 19 07:43:13 MST 2014
See the semihosting spec linked to from:

http://www.lpcware.com/content/faq/lpcxpresso/semihosting

Regards,
LPCXpresso Support
0 Kudos
Reply