On Thu, 9 Dec 2010 18:15:35 +0530, LOhit <lohi...@gmail.com> wrote:
> Hello Everyone,
> 
> I apologize in advance if this question sounds stupid or has been answered
> already. I need to create large dummy files for testing. I would like to
> know if there is a way to do it using C on OpenBSD.
> 
> This is what I want to achieve. I tried looking for "mkfile" command, but I
> couldn't find it either.
> 
> dd if=/dev/zero of=/testing/file0 bs=512 count=65536
> 
> 
> Thanks in advance.
> -LOhit

Hi,
first link in Google :
http://bytes.com/topic/c/answers/733896-how-create-large-files-c

Guillaume.

Reply via email to