Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / teshsuite / xbt / cmdline / cmdline.c
1 /* Copyright (c) 2018-2021. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "simgrid/engine.h"
7 #include "simgrid/simix.h" // we don't need it, but someone must check that this file is actually usable in plain C
8 #include <xbt.h>
9
10 XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this test");
11
12 int main(int argc, char** argv)
13 {
14   simgrid_init(&argc, argv);
15
16   for (int i = 1; i < argc; i++)
17     XBT_INFO("argv[%d]=%s", i, argv[i]);
18
19   return 0;
20 }