AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
CTIME (3C) CTIME(3C) The external long variable timezone contains the difference, in seconds, between GMT and local standard time (in EST, timezone is 5*60*60); the external variable daylight is non-zero if and only if the standard U.S.A. Daylight Savings Time conversion should be applied. The program knows about the peculiarities of this conversion in 1974 and 1975; if necessary, a table for these years � 1 can be extended. I If an environment variable named TZ is present, asctime uses the contents of the variable to override the default time zone. The value of TZ must be a three-letter time zone name, followed by a number representing the difference between local time and Greenwich Mean Time in hours, followed by an optional threeletter name for a daylight time zone. For example, the setting for New Jersey would be ESTiiEDT. The effects of setting TZ are thus to change the values of the external variables timezone and daylight; in addition, the time zone names contained in the external variable char •tzname[2] = { "EST", "EDT" }; are set from the environment variable TZ. The function tzset sets these external variables from TZ; tzset is called by asctime and may also be called explicitly by the user. Note that in most installations, TZ is set by default when the user logs on, to a value in the local /etc/ profile file (see profile(4)). ��0 � time(2), getenv(3C), profile( 4), environ(5). 1 BUGS The return values point to static data whose content is overwritten by each call. - 2- ·� !
CTYPE ( 3C ) CTYPE ( 3C ) NAME isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii - classify characters SYNOPSIS #include < ctype.h > int isalpha (c) int c; DESCRIPTION These macros classify character-coded integer values by table lookup. Each is a predicate returning nonzero for true, zero for false. Isascii is defined on all integer values; the rest are defined only where isascii is true and on the single non-ASCII value EOF ( -1 - see stdio(3S)). is alpha isupper islower is digit isxdigit isalnum isspace ispunct is print is graph iscntrl c is a letter. c is an upper-case letter. c is a lower-case letter. c is a digit [0-9] . c is a hexadecimal digit [0-9], [A-F] or [a-f] . c is an alphanumeric (letter or digit). c is a space, tab, carriage return, new-line, vertical tab, or form-feed. c is a punctuation character (neither control nor alphanumeric). c is a printing character, code 040 (space) through 0176 (tilde). c is a printing character, like isprint except false for space. c is a delete character (0177) or an ordinary control character (less than 040). c is an ASCII character, code less than 0200. isascii DIAGNOSTICS If the argument to any of these macros is not in the domain of the function, the result is undefined. SEE ALSO ascii(S). - 1 -
- Page 761 and 762: SYNC ( 2) SYNC (2) NAME sync - upda
- Page 763 and 764: SYSLOCAL ( 2) SYSLOCAL ( 2) NAME Sy
- Page 765: TIME ( 2) TIME(2) NAME time - get t
- Page 768 and 769: .�.· '··.· ·•. J '·· -,
- Page 771 and 772: UMASK( 2 ) UMASK ( 2 ) NAME umask -
- Page 773 and 774: UMOUNT (2) UMOUNT (2) NAME umount -
- Page 775: UNAME ( 2 ) UNAME (2) NAME uname -
- Page 779: USTAT (2) USTAT (2) NAME ustat - ge
- Page 783 and 784: WAIT ( 2 ) WAIT ( 2 ) NAME wait - w
- Page 785 and 786: WRITE(2) WRITE (2) NAME write - wri
- Page 787 and 788: INTR0 ( 3 ) INTR0 ( 3 ) NAME intro
- Page 789: A64L ( 3C ) A64L ( 3C ) NAME a641,
- Page 793: ABS (3C) ABS (3C) NAME abs - return
- Page 797: ATOF ( 3C ) ATOF ( 3C ) NAME atof -
- Page 800 and 801: ·�
- Page 803: CLOCK( 3C ) CLOCK( 3C ) NAME clock
- Page 806 and 807: J ··- � . ..._ __ .·
- Page 809: CTERMID ( 3S ) CTERMID ( 3S ) NAME
- Page 815 and 816: CURSES ( 3 ) CURSES ( 3 ) NAME curs
- Page 817 and 818: CUSERID ( 3S ) CUSERID ( 3S ) NAME
- Page 819 and 820: DIAL (3C) DIAL(3C) NAME dial - esta
- Page 821 and 822: DRAND48 ( 3C ) DRAND48 ( 3C ) NAME
- Page 823 and 824: DRAND48 ( 3C ) DRAND48 ( 3C ) have
- Page 825: ECVT (3C) ECVT (3C) NAME ecvt, fcvt
- Page 829 and 830: EPRINTF ( 3T ) ( AT&T UNIX PC only
- Page 831 and 832: ERF (3M) ERF (3M) NAME erf1 erfc -
- Page 833: EXP ( 3M ) EXP ( 3M ) NAME exp, log
- Page 837: FERROR (3S) FERROR (3S) NAME ferror
- Page 841 and 842: FOPEN(3S) FOPEN (3S) NAME fopen, fr
- Page 843 and 844: FORM ( 3T ) ( AT&T UNIX PC only ) F
- Page 845 and 846: FORM (3T) (AT&T UNIX PC only ) fiel
- Page 847 and 848: FORM (3T) }; (AT&T UNIX PC only ) F
- Page 849: FREAD ( 3S ) FREAD ( 3S ) NAME frea
- Page 853: FSEEK ( 3S ) FSEEK ( 3S ) NAME fsee
- Page 857 and 858: GAMMA ( 3M ) GAMMA ( 3M ) NAME gamm
- Page 859 and 860: GETC ( 3S ) GETC ( 3S ) NAME getc,
- Page 861: GETCWD ( 3C } GETCWD ( 3C ) NAME ge
CTIME (3C) CTIME(3C)<br />
The external long variable timezone contains the difference, in<br />
seconds, between GMT and local standard time (in EST, timezone<br />
is 5*60*60); the external variable daylight is non-zero if and only<br />
if the standard U.S.A. Daylight Savings Time conversion should<br />
be applied. The program knows about the peculiarities of this<br />
conversion in 1974 and 1975; if necessary, a table for these years � 1<br />
can be extended.<br />
I<br />
If an environment variable named TZ is present, asctime uses the<br />
contents of the variable to override the default time zone. The<br />
value of TZ must be a three-letter time zone name, followed by a<br />
number representing the difference between local time and<br />
Greenwich Mean Time in hours, followed by an optional threeletter<br />
name for a daylight time zone. For example, the setting for<br />
New Jersey would be ESTiiEDT. The effects of setting TZ are<br />
thus to change the values of the external variables timezone and<br />
daylight; in addition, the time zone names contained in the external<br />
variable<br />
char •tzname[2] = { "EST", "EDT" };<br />
are set from the environment variable TZ. The function tzset sets<br />
these external variables from TZ; tzset is called by asctime and<br />
may also be called explicitly by the user.<br />
Note that in most installations, TZ is set by default when the user<br />
logs on, to a value in the local /etc/ profile file (see profile(4)).<br />
��0 �<br />
time(2), getenv(3C), profile( 4), environ(5). 1<br />
BUGS<br />
The return values point to static data whose content is overwritten<br />
by each call.<br />
- 2-<br />
·�<br />
!