From da4d90856f0f8017213d7f4650203346ff07c34f Mon Sep 17 00:00:00 2001 From: Aaron Ball Date: Sat, 10 Jun 2023 12:26:07 -0600 Subject: Add license headers to config.c, config.h, and fdstats.h Whoops, forgot to add these yesterday. --- config.c | 17 +++++++++++++++++ config.h | 17 +++++++++++++++++ fdstats.h | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/config.c b/config.c index 1f209c6..20c0bd1 100644 --- a/config.c +++ b/config.c @@ -1,3 +1,20 @@ +/** + * Fd-enum is a simple tool to list open file descriptors of a pid by type + * Copyright (C) 2023 Aaron Ball + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include "config.h" void get_help() { diff --git a/config.h b/config.h index 98d0d86..1910ace 100644 --- a/config.h +++ b/config.h @@ -1,3 +1,20 @@ +/** + * Fd-enum is a simple tool to list open file descriptors of a pid by type + * Copyright (C) 2023 Aaron Ball + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include #include #include diff --git a/fdstats.h b/fdstats.h index f01f2ca..a5dc9eb 100644 --- a/fdstats.h +++ b/fdstats.h @@ -1,3 +1,20 @@ +/** + * Fd-enum is a simple tool to list open file descriptors of a pid by type + * Copyright (C) 2023 Aaron Ball + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include #include #include -- cgit v1.2.3