Prev | Current Page 282 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Usually this is an ???int??? type, but for some
systems it is a ???gid_t??? type.
SLEEP_T The type returned by sleep(2). Usually this is an ???unsigned int??? type.
SOCKADDR_LEN_T The type of the third argument to accept(2), getsockname(2), and getpeername(2). Usually this is an
???int??? type.
SOCKOPT_LEN_T The type of the fifth argument to getsockopt(2) and setsockopt(2). Usually this is an ???int??? type.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
150 | Chapter 3: Tune sendmail with Compile-Time Macros
3.4.73 USE_ENVIRON
Use the environ variable (V8.12 and above) Port with confENVDEF
Most versions of Unix compilers provide environment variables to programs in the third
argument to main( ). Others provide environment variables in an external pointer variable
called environ. If yours uses this latter approach, you can take advantage of it by defining
this USE_ENVIRON compile-time macro:
APPENDDEF(`confENVDEF??, `-DUSE_ENVIRON=1??) ?†? available with V8.12 and above
See ?§4.2 on page 156 for a discussion of sendmail and the environment.
If you are running a precompiled sendmail binary, you can use the -d0.10 debugging
command-line switch (?§15.7.3 on page 543) to determine whether USE_ENVIRON
support is defined (if it appears in the list, it is defined).


Pages:
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
życzenia katalog stron katalog stron pozycjonowanie Connie Talbot