Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/pids/files/sleeper.c

raw
1 /*
2 * Copyright (c) 2022, Alexei Znamensky <[email protected]>
3 * GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
7 #include <stdlib.h>
8 #include <unistd.h>
9
10 int main(int argc, char **argv) {
11 int delay = atoi(argv[1]);
12 sleep(delay);
13 }