1PMWHICHZONE(3) Library Functions Manual PMWHICHZONE(3)
2
3
4
6 pmWhichZone - return current reporting timezone
7
9 #include <pcp/pmapi.h>
10
11 int pmWhichZone(char **tz);
12
13 cc ... -lpcp
14
16 The current reporting timezone effects the timezone used by pmCtime(3)
17 and pmLocaltime(3).
18
19 pmWhichZone returns the handle of the current timezone, as previously
20 established by a call to pmNewZone(3) or pmNewContextZone(3). If the
21 call is successful (i.e. there exists a current reporting timezone)
22 then a non-negative integer is returned and tz is set to point to a
23 static buffer containing the timezone string itself.
24
26 A return value less than zero indicates there is no current reporting
27 timezone.
28
30 PMAPI(3), pmCtime(3), pmLocaltime(3), pmNewContextZone(3), pmNewZone(3)
31 and pmUseZone(3).
32
33
34
35Performance Co-Pilot PCP PMWHICHZONE(3)