Flash memory available?

Is there a function that allows us to find out how much space in flash memory is free and is available for other files (ie camera images) in vxworks?

relFsShow ("/c");

And this returns a struct of type STATUS?
What variables are in that struct?

This function prints to stdout… the status is what you would expect from an application in a shell… i.e. 0 == success non-0 == failure.

-Joe

are you saying we have to redirect stdout?

If you need to do this from within your program and you were going to use this entry-point, then yes… I was thinking you would call it from the console to find out.

I’ll do some more research to find the entry-point that is designed to be called from within your application.

-Joe