RE: scgi 1.11 on Solaris 8

David Binger <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On OS X, sys/socket.h has

#define    CMSG_LEN(l)             (ALIGN(sizeof(struct cmsghdr)) + (l))

and

#define    CMSG_SPACE(l)           (ALIGN(sizeof(struct cmsghdr)) +  
ALIGN(l))

where i386/param.h has

#define ALIGNBYTES      3
#define ALIGN(p)        (((unsigned int)(p) + ALIGNBYTES) &~ ALIGNBYTES)

Should the Solaris 8 versions of CMSG_* also use some kind of ALIGN  
macro?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.