''...T'' '''


The types returned by functions port, edit sendmail/conf.h

Not all versions of C libraries declare values returned by functions in exactly the same way in all cases. For sendmail to work properly it needs to know how certain subroutines are declared on certain systems. A few compile-time macros convey this information to sendmail, and they are listed and described in Table 3-14.

Table 3-14. Compile-time macros that define return types


Does what


The type of an arbitrary pointer. Usually this is the "void *" type, but for some older compilers it can be the "char *" type.


The type of the second argument passed to getgroups(2). Usually this is an "int" type, but for some systems it is a "gid_t" type.


The type returned by sleep(2). Usually this is an "unsigned int" type.


The type of the third argument to accept(2), getsockname(2), and getpeername(2). Usually this is an "int" type.


The type of the fifth argument to getsockopt(2) and setsockopt(2). Usually this is an "int" type.

None of these compile-time macros will need to be defined by you unless you get warnings about mismatched types when compiling.

New ports should be reported to sendmail@sendmail.org so that they can be folded into future releases.

    Part I: Build and Install
    Chapter 2. Build and Install sendmail
    Chapter 4. Configure sendmail.cf with m4
    Part II: Administration
    Part III: The Configuration File