fd = open(name, O_WRONLY); lseek(fd, size_in_bytes, SEEK_SET) close(fd) --Ugen Rus Foster wrote: >On Thu, 24 Jul 2003, Peter Elsner wrote: > > > >>touch filename ??? >> >>Peter >> >> > >Hi, >Not quite as I want to allocate space rather than just the file. Thanks >anyway > >Rgds > >Rus > > >