The Linux Programming Interface
Time 197 Listing 10-3: Retrieving and converting calendar times –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– tim ...
198 Chapter 10 These files reside in the directory /usr/share/zoneinfo. Each file in this directory contains information about t ...
Time 199 Listing 10-4: Demonstrate the effect of timezones and locales ––––––––––––––––––––––––––––––––––––––––––––––––––––––––– ...
200 Chapter 10 adjustment to add to the local time to convert it to UTC. The final four compo- nents provide a rule describing w ...
Time 201 Locale information is maintained in a directory hierarchy under /usr/share/ locale (or /usr/lib/locale in some distribu ...
202 Chapter 10 Under each locale subdirectory is a standard set of files that specify the conven- tions for this locale, as show ...
Time 203 character set, and uses English for names of days and months, and for yes/no responses. The monetary and numeric compon ...
204 Chapter 10 strptime() (Section 10.2.3), as shown by the results from strftime() when we run the program in Listing 10-4 in a ...
Time 205 Abrupt changes in the system time of the sort caused by calls to settimeofday() can have deleterious effects on applica ...
206 Chapter 10 with greater accuracy and time measurements can be made with greater precision. However, it isn’t desirable to se ...
Time 207 clock_t tms_cutime; /* User CPU time of all (waited for) children */ clock_t tms_cstime; /* System CPU time of all (wai ...
208 Chapter 10 Although the clock_t return type of clock() is the same data type that is used in the times() call, the units of ...
Time 209 if (clockTicks == 0) { /* Fetch clock ticks on first call */ clockTicks = sysconf(_SC_CLK_TCK); if (clockTicks == -1) e ...
210 Chapter 10 time and human-readable character strings. Describing such conversions took us into a discussion of locales and i ...
Chapter 11: System Limits and Options......................................................................... Each UNIX impleme ...
212 Chapter 11 z From one file system to another: For example, traditional System V file systems allow a filename to be up to 14 ...
System Limits and Options 213 If defined, this limit will always be at least the size of the minimum value described above (i.e. ...
214 Chapter 11 (Section 9.6). SUSv3 defines the corresponding minimum value, _POSIX_NGROUPS_MAX, with the value 8. At run time, ...
System Limits and Options 215 with the value 8) specifies the SUSv3-required minimum corresponding to the RTSIG_MAX implementati ...
216 Chapter 11 The name argument is one of the _SC_* constants defined in <unistd.h>, some of which are listed in Table 11 ...
«
8
9
10
11
12
13
14
15
16
17
»
Free download pdf