         NAME
              pnet_inlen - Get number of connections

         SYNOPSIS
              #include <mpi.h>
              #include "pnet.h"

              int pnet_inlen(const Pnet *pnet,int node);

         DESCRIPTION
              Function returns number of connections for specified local
              node. Function is implemented as a macro.  The arguments of
              pnet_inlen are:

              pnet Pointer to initialized Pnet struct

              node Index of node. Must be
                   pnet_lo(pnet)<=node<=pnet_hi(pnet).

         RETURN VALUE
              Upon successful completion number of connections is
              returned.

         AUTHOR
              Werner von Bloh (bloh@pik-potsdam.de)

         SEE ALSO
              pnet_inindex(3), pnet_outlen(3), pnet_outindex(3),
              pnet_init(3), pnet_free(3), pnet_setup(3), pnet_hi(3),
              pnet_nodes(3)