1 /* virtualization layer for XBT */
3 /* Copyright (c) 2007-2014. The SimGrid Team. All rights reserved. */
5 /* This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "xbt/function_types.h"
11 #include "simgrid/simix.h"
13 static int xbt_fake_pid(void)
18 int_f_void_t xbt_getpid = xbt_fake_pid;
20 const char *xbt_procname(void)
22 return SIMIX_process_self_get_name();