|
|
standard/getsm(3) -- returns the current shading model
|
|
none FUNCTION RETURN VALUE The returned value of this function indicates which shading model is now active. There are two possible return values: FLAT the system renders lines and filled polygons in a constant color. GOURAUD the system renders lines and filled polygons with Gouraud shading. |
|
getsockname(3n) -- get socket name
|
|
getsockname returns the current name for socket s. The namelen parameter should be initialized to indicate the amount of space pointed to by name. On return it contains the actual size of the name returned (in bytes). |
|
getsockopt(3n) -- get and set options on sockets
|
|
getsockopt and setsockopt manipulate options associated with a socket. Options may exist at multiple protocol levels; they are always present at the uppermost socket level. When manipulating socket options, the level at which the option resides and the name of the option must be specified. To manipulate options at the socket level, level is specified as SOL_SOCKET. To manipulate options at any other level, lev... |
|
getspent(3c) -- manipulate shadow password file entry
|
|
The getspent, getspnam and their reentrant counterpart routines each return a pointer to an object with the following structure containing the broken-out fields of a line in the /etc/shadow file, or some other backend database. Each line in the file contains a ``shadow password'' structure, declared in the shadow.h header file: struct spwd{ char ... |
|
getsubopt(3c) -- parse suboptions from a string
|
|
getsubopt parses suboptions in a flag argument that was initially parsed by getopt(3C). These suboptions are separated by commas and may consist of either a single token or a token-value pair separated by an equal sign. Since commas delimit suboptions in the option string, they are not allowed to be part of the suboption or the value of a suboption. A command that uses this syntax is mount(1M), which allows the user to specify mount par... |
|
gettimeofday(3c) -- get/set date and time
|
|
The system's notion of the current time is obtained with the gettimeofday and BSDgettimeofday calls. The time is expressed in seconds and microseconds since midnight (00:00) Coordinated Universal Time (UTC), January 1, 1970. The resolution for (BSD)gettimeofday is never worse than 100 HZ (which equals 10 milliseconds). The actual resolution of (BSD)gettimeofday depends on the timer capability of the underlying hardware(see timers(5)). The difference between the calls gettimeofday(settimeofday) ... |
|
gettxt(3c) -- retrieve a text string
|
|
gettxt retrieves a text string from a message file. The arguments to the function are a message identification msgid and a default string dflt_str to be used if the retrieval fails. The text strings are in files created by the mkmsgs utility [see mkmsgs(1)] and installed in directories in /usr/lib/locale/locale/LC_MESSAGES. The directory locale can be viewed as t... |
|
Tk/getuid(3) -- convert from string to unique identifier
|
|
char*string(in) String for which the corresponding unique identifier is desired. |
|
getut(3c) -- access utmp file entry
|
|
NOTE: these routines are all obsolete and are provided for backward compatibility only. All access to or modification of these files must be done via the getutx(3C) set of interfaces. getutent, getutid, getutline, and pututline each return a pointer to a utmp structure: struct utmp { char ut_user[8... |
|
getutx(3c) -- access utmpx (extended utmp) file entry
|
|
getutxent, getutxid, and getutxline each return a pointer to a utmpx structure: struct utmpx { char ut_user[32]; /* user login name */ char ut_id[4]; /* /etc/inittab id (usu... |
|
standard/getvaluator(3) -- returns the current state of a valuator
|
|
dev expects the identifier of the device (e.g., MOUSEX, BPADX, etc.) from which you want to read. FUNCTION RETURN VALUE The returned value of this function is the value stored at the device named by the dev parameter. |
|
standard/getvideo(3) -- set and get video registers
|
|
reg expects the name of the register to access. value expects the value which is to be placed into reg. FUNCTION RETURN VALUE The returned value of getvideo is the value read from register reg, or -1. -1 indicates that reg is not a valid register or that you queried a video register on a system without that particular board installed. |
|
standard/getviewport(3) -- gets a copy of the dimensions of the current viewport
|
|
left expects a pointer to a location into which the system should copy the x coordinate (in pixels) of the left side of the current view port. right expects a pointer to a location into which the system should copy the x coordinate (in pixels) of the right side of the current view port. bottom expects a pointer to a location into which the system should copy the y coordinate (in pixels) of the bottom side of the current view port. top expects a pointer to a location into which the system should ... |