summary refs log tree commit diff stats
path: root/tests/manyloc/keineschweine/lib/gl.nim
Commit message (Expand)AuthorAgeFilesLines
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-173/+173
* Clean up tests/manylocdef2015-02-041-32/+32
* some progress for jester+asyncAraq2014-06-271-0/+1536
n class='oid'>9c2365d5c ^
749066757 ^
1
2
3
4
5
6
7
8
9
10
11
                   

                 





                                                            
            
                                 
import memfiles, os
import std/syncio

var
  mm: MemFile
  fn = "test.mmap"
# Create a new file
mm = memfiles.open(fn, mode = fmReadWrite, newFileSize = 20)
mm.close()
# mm.close()
if fileExists(fn): removeFile(fn)