From 8c1570c253cec16eff795eaff14957fd282f3dd9 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 23 Sep 1996 19:46:56 +0000 Subject: append-args.c: New file. --- libnetfs/append-args.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libnetfs/append-args.c (limited to 'libnetfs') diff --git a/libnetfs/append-args.c b/libnetfs/append-args.c new file mode 100644 index 00000000..867c7bbd --- /dev/null +++ b/libnetfs/append-args.c @@ -0,0 +1,31 @@ +/* Append current command-line arguments + + Copyright (C) 1995, 1996 Free Software Foundation, Inc. + + Written by Miles Bader + + This file is part of the GNU Hurd. + + The GNU Hurd 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 2, or (at + your option) any later version. + + The GNU Hurd 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, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include "netfs.h" + +/* Append to the malloced string *ARGZ of length *ARGZ_LEN a NUL-separated + list of the arguments to this translator. */ +error_t +netfs_append_args (char **argz, size_t *argz_len) +{ + return netfs_append_std_options (argz, argz_len); +} -- cgit v1.2.3