NewBuf (name)
Creates a new empty file buffer and returns a handle to the file buffer (an hbuf). The name of the new buffer is specified by the name parameter. NewBuf returns hNil if the buffer could not be created due to errors.