summaryrefslogtreecommitdiffstats
path: root/Doc/libgrp.tex
blob: 478097d06fed0240ade9732e5fec92c987fd60ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
\section{Built-in Module \sectcode{grp}}
\label{module-grp}

\bimodindex{grp}
This module provides access to the \UNIX{} group database.
It is available on all \UNIX{} versions.

Group database entries are reported as 4-tuples containing the
following items from the group database (see \file{<grp.h>}), in order:
\code{gr_name},
\code{gr_passwd},
\code{gr_gid},
\code{gr_mem}.
The gid is an integer, name and password are strings, and the member
list is a list of strings.
(Note that most users are not explicitly listed as members of the
group they are in according to the password database.)
A \code{KeyError} exception is raised if the entry asked for cannot be found.

It defines the following items:

\setindexsubitem{(in module grp)}
\begin{funcdesc}{getgrgid}{gid}
Return the group database entry for the given numeric group ID.
\end{funcdesc}

\begin{funcdesc}{getgrnam}{name}
Return the group database entry for the given group name.
\end{funcdesc}

\begin{funcdesc}{getgrall}{}
Return a list of all available group entries, in arbitrary order.
\end{funcdesc}
0 Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Expand)AuthorAgeFilesLines
* Merge trunkgahr_tip_447gahr2016-05-233-18/+22
|\
| * Merge core-8-6-branchjan.nijtmans2016-05-131-2/+2
| |\
| | * result/sendResult could be 64-bit, so account for thatjan.nijtmans2016-05-131-2/+2
| * | Merge core-8-6-branch. Eliminate some unnecessary spacing.jan.nijtmans2016-05-133-16/+20
| |\ \ | | |/
| | * Make tclreg13.dll work in any Unicode environment (either with 32-bit or 64-b...jan.nijtmans2016-05-133-16/+20
* | | Bump tcltest version to 2.3.9gahr2016-04-201-2/+2
|/ /
* | Fix [2538f373ffc78d6dba9c3d973c147a84fdd9bbd8|2538f373ffc78d6d]: crash in Tcl...jan.nijtmans2016-04-081-1/+1
|\ \ | |/
| * Fix [2538f373ffc78d6dba9c3d973c147a84fdd9bbd8|2538f373ffc78d6d]: crash in Tcl...jan.nijtmans2016-04-081-1/+1
* | RFE [0ef5e653ff4caf5f896ec1182e0aac38ab9a0c46|0ef5e653]: Add nsf to coffbase....jan.nijtmans2016-04-012-2/+3
|\ \ | |/
| * RFE [0ef5e653ff4caf5f896ec1182e0aac38ab9a0c46|0ef5e653]: Add nsf to coffbase.txtjan.nijtmans2016-04-011-0/+1
| |\
| | * RFE [0ef5e653ff4caf5f896ec1182e0aac38ab9a0c46|0ef5e653]: Add nsf to coffbase.txtjan.nijtmans2016-04-011-0/+1
| | * merge 8.5dgp2015-12-102-13/+6
| | |\
| | * \ merge 8.5dgp2015-11-303-11/+10
| | |\ \
| | * | | autoconf-2.59dgp2015-10-231-5/+5
| | * | | Bump to release number 8.5.19dgp2015-10-231-1/+1
* | | | | Two micro-optimizations in Win and UNIX notifier. See: [http://code.activesta...jan.nijtmans2016-04-012-26/+33
|\ \ \ \ \
| * \ \ \ \ merge trunkjan.nijtmans2016-03-302-17/+8
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Eliminate AT_FORK_INIT_VALUE/RESET_ATFORK_MUTEX macro's, since other values t...jan.nijtmans2016-03-292-17/+8
| * | | | | - Undo unix notifier changes: too risky at this moment. jan.nijtmans2016-03-253-20/+17
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Fix signed-unsigned-compare warning (reported by François Vogel on Windows, ...jan.nijtmans2016-03-222-2/+2
| * | | | | (experiment) Use TclpMasterLock() in stead of a separate notifierInitMutex. O...jan.nijtmans2016-03-211-8/+18
|/ / / / /
* | | | | Fix [d3071887dbc7aeac]: Fix SEGV in Tcl_FinalizeNotifier(). Thanks to hirofum...jan.nijtmans2016-03-211-17/+14
* | | | | configure.in -> configure.acjan.nijtmans2016-03-08