gbatch_ciupd - update a command interpreter
int gbatch_ciupd(const int fd, const unsigned flags, const int indx, const Cmdint *newci)
The function gbatch_ciupd is used to update the details of a command interpreter on a GNUbatch server. The invoking user must have special create permission or the call will be rejected.
fd is a file descriptor which was previously returned by a successful call to gbatch_open(3).
flags is currently unused, but is reserved for future extensions.
indx is the number of the command interpreter to be updated (see gbatch_ciread(3)).
newci is a pointer to a structure containing the new command interpreter details.
The function returns 0 if successful, otherwise an error code as defined in the include file \fBgbatch.h\fR.
gbatch_ciadd(3), gbatch_cidel(3), gbatch_ciread(3).
Copyright (c) 2009 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
John M Collins, Xi Software Ltd.