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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -