From b02e11f6fc037a54fdbddc5a11d0c40dac1ef4c9 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 20 Jun 2006 07:44:49 +0000 Subject: [PATCH] Prototype of gras_os_myport(), which happens to be implemented in transport module, but from the user POV it should be here, I think git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2405 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/gras/virtu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/gras/virtu.h b/include/gras/virtu.h index 65d3a81a22..58ea323479 100644 --- a/include/gras/virtu.h +++ b/include/gras/virtu.h @@ -41,6 +41,9 @@ void gras_os_sleep(double sec); const char * gras_os_myname(void); +/** @brief returns the number on which this process is listening for incoming messages */ +int gras_os_myport(void); + /** @brief get process identification * * Returns the process ID of the current process. (This is often used -- 2.20.1