os.ftruncate()
  • References/Python/Python/Operating System

os.ftruncate(fd, length) Truncate the file corresponding to file descriptor fd, so that it is at most length

2025-01-10 15:47:30
os.fdatasync()
  • References/Python/Python/Operating System

os.fdatasync(fd) Force write of file with filedescriptor fd to disk. Does not force update of metadata.

2025-01-10 15:47:30
curses.use_env()
  • References/Python/Python/Operating System

curses.use_env(flag) If used, this function should be called before initscr() or newterm are called. When flag

2025-01-10 15:47:30
curses.curs_set()
  • References/Python/Python/Operating System

curses.curs_set(visibility) Set the cursor state. visibility can be set to 0, 1, or 2, for invisible, normal, or very

2025-01-10 15:47:30
platform.processor()
  • References/Python/Python/Operating System

platform.processor() Returns the (real) processor name, e.g. 'amdk6'. An empty

2025-01-10 15:47:30
time.gmtime()
  • References/Python/Python/Operating System

time.gmtime([secs]) Convert a time expressed in seconds since the epoch to a struct_time in UTC in which the dst

2025-01-10 15:47:30
curses.panel.Panel.show()
  • References/Python/Python/Operating System

Panel.show() Display the panel (which might have been hidden).

2025-01-10 15:47:30
os.stat_result.st_ctime_ns
  • References/Python/Python/Operating System

st_ctime_ns Platform dependent: the time of most recent metadata change

2025-01-10 15:47:30
ctypes.string_at()
  • References/Python/Python/Operating System

ctypes.string_at(address, size=-1) This function returns the C string starting at memory address address as a bytes

2025-01-10 15:47:30
curses.termname()
  • References/Python/Python/Operating System

curses.termname() Return the value of the environment variable TERM, truncated to 14 characters.

2025-01-10 15:47:30