diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-02-10 15:27:06 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-02-10 15:27:06 +0100 |
commit | 7501bff8432444b7ae8e7f3d9289c0d61f3f0b64 (patch) | |
tree | bd53603f464c3747e897a8996158a0fef7b41bc3 /src/tc-proc.c | |
parent | 0f124df68d87c9073f76efeff1a901a69b1f3e13 (diff) | |
parent | 9e9336185f86bd97ff22f54e4d561c2cccccecf5 (diff) |
Merge branch 'release/debian/4.10-1'debian/4.10-1
Diffstat (limited to 'src/tc-proc.c')
-rw-r--r-- | src/tc-proc.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tc-proc.c b/src/tc-proc.c index 7ec982f..19c8b18 100644 --- a/src/tc-proc.c +++ b/src/tc-proc.c @@ -1,16 +1,12 @@ -/* - * Copyright Jan Engelhardt - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the WTF Public License version 2 or - * (at your option) any later version. - */ +// SPDX-License-Identifier: MIT #ifdef __cplusplus # include <cerrno> +# include <cstdio> # include <cstdlib> # include <cstring> #else # include <errno.h> +# include <stdio.h> # include <stdlib.h> # include <string.h> #endif @@ -56,6 +52,7 @@ int main(void) { if (HX_init() <= 0) abort(); + printf("top fd: %d\n", HXproc_top_fd()); /* let it fail - test verbosity */ HXproc_run_sync(t_args1 + 2, HXPROC_VERBOSE); |