lkml.org 
[lkml]   [1997]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsendmsg/recvmsg question
Hi, gang,
I'm not sure which list to post this on, so excuse the cross-posting, if you will.
I am trying to set up a simple program using sendmsg(), to eventually share open
file descriptors between processes. I've looked through the Stevens books, and even
peered at the kernel a trifle, and so far have come up with nothing.
sendmsg() returns 0 bytes sent, recvmsg() (of course) comes back with 0 bytes read.
Is sendmsg() broken in the kernel (2.0.28) or in libc (5.4.17, the latest I could find)?
The code is fairly short, if you want, I could post it.

TIA,
Bill

--
-------------------------------------------------------------------------------
________ | Bill Perkins
/ "Ship Arriving Too Late to | perk@iag.net
/ Save a Drowning Witch" | programmer-at-large
/ /\ F. Zappa | ALL assembly languages done here.
-------------------------------------------------------------------------------

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.035 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site