/*
 * PCN System
 * Author:      Steve Tuecke
 *              Argonne National Laboratory
 *
 * Please see the DISCLAIMER file in the top level directory of the
 * distribution regarding the provisions under which this software
 * is distributed.
 *
 * sys_my_node.c
 *
 * Foreign procedures used by sys.pcn
 */

#include "sys_internal.h"

/*
 * Set 'N' to my node number (the one this procedure is being run on).
 */
void _p_sys_my_node(N)
int_t *N;
{
    extern int_t _p_my_id;
    *N = (int_t) _p_my_id;
}
