 
     public func flush(deadline: Double) throws {
         try ensureFileIsOpen()
-        fileflush(file, deadline.int64milliseconds)
+        mill_mfflush_(file, deadline.int64milliseconds)
         try ensureLastOperationSucceeded()
     }
 


    public func close() {
        if !closed {
            fileclose(file)
        }
        closed = true
    }

        
        try ensureFileIsOpen()
        
        let bytesWritten = mill_mfwrite_(file, buffer.baseAddress!, buffer.count, deadline.int64milliseconds)
        guard bytesWritten == buffer.count else {
            try ensureLastOperationSucceeded()
            throw SystemError.other(errorNumber: -1)
