vxworks :create a file with specific size and rendom data -


how can create file rendom data specific size in vxworks? need fill big memory files, there why that? (except copy files exist on , on again)

do same way on system.

  • create file (creat or open), @ location want.
  • create random data using normal random functions.
  • write file (write). .. repeat random data step , write step until file big need it.
  • close file (close).

how random data, , how create data dictate how long take file size want.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -