nprobe(2) - Linux man page
Name
nprobe - Report if a LAM bufferd network message is ready to be received.C Synopsis
#include <net.h>- int nprobe (struct nmsg *header);
Fortran Synopsis
- subroutine NPROB (nevent, ntype, nlength, nflags, nready, ierror)
Description
The nprobe() function accepts a pointer to a network message descriptor, defined in <net.h>. See nsend(2). Only the nh_event and nh_type fields of the network message descriptor must be filled before calling nprobe(). The nh_type and nh_length fields are altered after a successful probe as if nrecv(2) had been called.
Since nprobe() can only examine buffered messages, it cannot be used when buffers are bypassed.