comparison src/systime.h @ 78501:1677cf1c2509

Replace `iff' in comments.
author Glenn Morris <rgm@gnu.org>
date Wed, 08 Aug 2007 07:49:21 +0000
parents 922696f363b0
children fc2bcd2a8aad 424b655804ca
comparison
equal deleted inserted replaced
78500:f3583f35fc6a 78501:1677cf1c2509
65 the timeout argument to the select system call. 65 the timeout argument to the select system call.
66 66
67 EMACS_SECS (TIME) is an rvalue for the seconds component of TIME. 67 EMACS_SECS (TIME) is an rvalue for the seconds component of TIME.
68 EMACS_SET_SECS (TIME, SECONDS) sets that to SECONDS. 68 EMACS_SET_SECS (TIME, SECONDS) sets that to SECONDS.
69 69
70 EMACS_HAS_USECS is defined iff EMACS_TIME has a usecs component. 70 EMACS_HAS_USECS is defined if EMACS_TIME has a usecs component.
71 EMACS_USECS (TIME) is an rvalue for the microseconds component of TIME. 71 EMACS_USECS (TIME) is an rvalue for the microseconds component of TIME.
72 This returns zero if EMACS_TIME doesn't have a microseconds component. 72 This returns zero if EMACS_TIME doesn't have a microseconds component.
73 EMACS_SET_USECS (TIME, MICROSECONDS) sets that to MICROSECONDS. 73 EMACS_SET_USECS (TIME, MICROSECONDS) sets that to MICROSECONDS.
74 This does nothing if EMACS_TIME doesn't have a microseconds component. 74 This does nothing if EMACS_TIME doesn't have a microseconds component.
75 75
81 EMACS_ADD_TIME (DEST, SRC1, SRC2) adds SRC1 to SRC2 and stores the 81 EMACS_ADD_TIME (DEST, SRC1, SRC2) adds SRC1 to SRC2 and stores the
82 result in DEST. SRC should not be negative. 82 result in DEST. SRC should not be negative.
83 83
84 EMACS_SUB_TIME (DEST, SRC1, SRC2) subtracts SRC2 from SRC1 and 84 EMACS_SUB_TIME (DEST, SRC1, SRC2) subtracts SRC2 from SRC1 and
85 stores the result in DEST. SRC should not be negative. 85 stores the result in DEST. SRC should not be negative.
86 EMACS_TIME_NEG_P (TIME) is true iff TIME is negative. 86 EMACS_TIME_NEG_P (TIME) is true if TIME is negative.
87 87
88 */ 88 */
89 89
90 #ifdef HAVE_TIMEVAL 90 #ifdef HAVE_TIMEVAL
91 91