summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 19:46:56 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 19:46:56 +0000
commit8c1570c253cec16eff795eaff14957fd282f3dd9 (patch)
treed025414b921724b6b3d2f496783622dcca9f4484
parent00322e11c6e7c899123f5a186447c92eec4ef53c (diff)
append-args.c: New file.
-rw-r--r--libnetfs/append-args.c31
1 files changed, 31 insertions, 0 deletions
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 <miles@gnu.ai.mit.edu>
+
+ 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);
+}