# 6 Generic Operating System Services

The modules described in this chapter provide interfaces to operating system features that are available on (almost) all operating systems, such as files and a clock. The interfaces are generally modelled after the Unix or C interfaces but they are available on most other systems as well. Here's an overview:

os
  -- Miscellaneous OS interfaces.

time
  -- Time access and conversions.

getopt
  -- Parser for command line options.

tempfile
  -- Generate temporary file names.

errno
  -- Standard errno system symbols.

glob
  -- Unix shell style pathname pattern expansion.

fnmatch
  -- Unix shell style pathname pattern matching.

locale
  -- Internationalization services.

- 6.1 Standard Module `os`
- 6.2 Built-in Module `time`
- 6.3 Standard Module `getopt`
- 6.4 Standard Module `tempfile`
- 6.5 Standard Module `errno`
- 6.6 Standard Module `glob`
- 6.7 Standard Module `fnmatch`
- 6.8 Standard Module `locale`