diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-03 05:47:38 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-03 05:47:38 (GMT) |
commit | 7ecbc19e09a73ab426cbc2f48b11df753961b2e3 (patch) | |
tree | e5eccbbe8a8b8ec5e6bda5e57c0ca91665822f7d /Doc | |
parent | 92ff693eb1a967643c650366abe032aee5164945 (diff) | |
download | cpython-7ecbc19e09a73ab426cbc2f48b11df753961b2e3.zip cpython-7ecbc19e09a73ab426cbc2f48b11df753961b2e3.tar.gz cpython-7ecbc19e09a73ab426cbc2f48b11df753961b2e3.tar.bz2 |
SF Bug #1008310, os.major() os.minor() example and description change. Will backport.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libos.tex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 3662a46..631f241 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -843,12 +843,14 @@ defines the newly created device special file (probably using \end{funcdesc} \begin{funcdesc}{major}{device} -Extracts a device major number from a raw device number. +Extracts the device major number from a raw device number (usually +the \member{st_dev} or \member{st_rdev} field from \ctype{stat}). \versionadded{2.3} \end{funcdesc} \begin{funcdesc}{minor}{device} -Extracts a device minor number from a raw device number. +Extracts the device minor number from a raw device number (usually +the \member{st_dev} or \member{st_rdev} field from \ctype{stat}). \versionadded{2.3} \end{funcdesc} |