Back to index

glibc  2.9
Functions
nis_rmdir.c File Reference
#include <rpcsvc/nis.h>
#include "nis_xdr.h"
#include "nis_intern.h"

Go to the source code of this file.

Functions

nis_error nis_rmdir (const_nis_name dir, const nis_server *server)

Function Documentation

nis_error nis_rmdir ( const_nis_name  dir,
const nis_server *  server 
)

Definition at line 26 of file nis_rmdir.c.

{
  nis_error res, res2;

  if (server == NULL)
    return NIS_SYSTEMERROR;

  res2 = __do_niscall2 (server, 1, NIS_RMDIR,
                     (xdrproc_t) _xdr_nis_name,
                     (caddr_t) &dir, (xdrproc_t) _xdr_nis_error,
                     (caddr_t) &res, 0, NULL);
  if (res2 != NIS_SUCCESS)
    return res2;

  return res;
}

Here is the call graph for this function: