Displaying 2 results from an estimated 2 matches for "apue2".
Did you mean:
apue
2010 Aug 19
1
odd situation slightly off topic (sending file descriptors to another process)
I have coded up the standard sendfd() and recvfd() for linux to send and
recv file descriptors.
seems to work
(http://book.chinaunix.net/special/ebook/addisonWesley/APUE2/0201433079/ch17lev1sec4.html)
however when I recvfd() my number of open file descriptors bumps by 2
and not 1. (using lsof -p X | wc -l)
I am not sure why the count jumps by 2 and not 1. The sendfd() is just
sending a socket descriptor.
If I close() the provided descriptor it only closes 1 handl...
2012 Jan 11
2
(no subject)
...nd burned in
(with Dovecot 2.0.15 I believe), and the final migration is pretty much
waiting on a port to Dovecot of the MWI update functionality.
The good news is that I originally spent some effort to isolate the UDP
packet generation and delivery, and I used purely standard portable code
as per APUE2, so I think that chunk of code should be reusable with only
minor modifications. I'm aware that internally Dovecot has its own
memory, buffer, and string management functions, but it doesn't feel
like a win to try to convert the existing code. It's small, completely
isolated, and well...