Python posixfile Functions

EditRocket provides the following information on posixfile functions in the Python source code builder.

dup() - Duplicate the file object and the underlying file pointer and file descriptor.

dup2(fd) - Duplicate the file object and the underlying file pointer and file descriptor.

file() - Return the standard file object that the posixfile object is based on.

fileopen(fileobject) - Create a new posixfile object with the given standard file object.

flags([flags]) - Set the specified flags for the file that the file object is referring to.

lock(fmt, [len[, start[, whence]]]) - Lock the specified section of the file that the file object is referring to.

open(filename[, mode[, bufsize]]) - Create a new posixfile object with the given filename and mode.