The dpaddhost man page







NAME
     dpaddhost - add a host to host table

SYNOPSIS
     #include 

     int dpaddhost(host, domain, path, user, password)
     char *host, *domain, *path, *user, *password;

DESCRIPTION
     The function dpaddhost() adds a new host entry to  the  host
     table.

     host is the name of the host machine; it is usually  a  one-
     word  name.   domain  is the name of the Internet domain the
     host is in; note that in systems running  the  Network  File
     System  (e.g.,  Sun  Sparcs  and DEC RISCs) this name may be
     different from the NFS domain name. Always use the  Internet
     domain name.

     path is the default working path  on  the  host;  it  should
     already  exist.   user  is the name of the user account, and
     password is the user's (unfortunately) plain  text  password
     for  that particular account. To provide some sense of secu-
     rity, password may be set to (char *) NULL,  in  which  case
     dpaddhost()  will  prompt  the  user  for the password to be
     typed in from the keyboard.

RETURN VALUES
     dpaddhost() returns the current number of hosts in the  host
     table.

REMARK
     This is a DP function call.

AUTHOR
     David Arnow

FILES
     /usr/include/dp/dp.h - DP header file
     /usr/lib/libdp.a     - DP library file

SEE ALSO
     dpspawn(3DP), dpinit(3DP)





Essential DP MAN Pages:

General/Essential:


Non-Interrupting Messages:


Interrupting Messages:
  • dpblock
  • dpcatchmsg
  • dpgetmsg
  • dppause
  • dpunblock

    Other:
    Return to DP For Students Return to The DP Project Return to David Arnow's Home Page