Built-in Module posix

<#2#>posix<#2#>

This module provides access to operating system functionality that is standardized by the C Standard and the POSIX standard (a thinly disguised <#3#><#3#> interface).

<#4#>Do not import this module directly.<#4#> Instead, import the module <#5#>os<#5#>, which provides a portable version of this interface. On <#7#><#7#>, the <#8#>os<#8#> module provides a superset of the <#9#>posix<#9#> interface. On non-<#10#><#10#> operating systems the <#11#>posix<#11#> module is not available, but a subset is always available through the <#12#>os<#12#> interface. Once <#13#>os<#13#> is imported, there is no performance penalty in using it instead of <#15#>posix<#15#>. <#16#>os<#16#>

The descriptions below are very terse; refer to the corresponding <#17#><#17#> manual entry for more information. Arguments called <#18#>path<#18#> refer to a pathname given as a string.

Errors are reported as exceptions; the usual exceptions are given for type errors, while errors reported by the system calls raise <#19#>posix.error<#19#>, described below.

Module <#20#>posix<#20#> defines the following data items:


#datadesc23#


#excdesc38#

It defines the following functions and constants:


#funcdesc46#


#funcdesc51#


#funcdesc57#


#funcdesc64#


#funcdesc75#


#funcdesc80#


#funcdesc87#


#funcdesc93#


#funcdesc100#


#funcdesc108#


#funcdesc116#


#funcdesc120#


#funcdesc126#


#funcdesc130#


#funcdesc134#


#funcdesc138#


#funcdesc142#


#funcdesc146#


#funcdesc150#


#funcdesc154#


#funcdesc158#


#funcdesc164#


#funcdesc170#


#funcdesc176#


#funcdesc183#


#funcdesc189#


#funcdesc198#


#funcdesc206#


#funcdesc211#


#funcdesc221#


#funcdesc226#


#funcdesc232#


#funcdesc242#


#funcdesc256#


#funcdesc261#


#funcdesc267#


#funcdesc273#


#funcdesc278#


#funcdesc282#


#funcdesc289#


#funcdesc295#


#funcdesc301#


#funcdesc305#


#funcdesc322#


#funcdesc329#


#funcdesc337#


#funcdesc343#


#funcdesc350#


#funcdesc356#


#funcdesc360#


#funcdesc371#


#funcdesc379#


#funcdesc383#


#funcdesc388#


#funcdesc395#


#datadesc409#