ArchWizard

DGD/

source navigation ]
diff markup ]
identifier search ]
file search ]
Version: [ 1.0.a0 ] [ 1.1 ] [ 1.2 ] [ 1.2p1 ] [ 1.2p2 ] [ 1.2p3 ] [ 1.2p4 ] [ 1.2.151 ]

  1 NAME
  2         send_message - send a message to a user
  3 
  4 SYNOPSIS
  5         int send_message(string message)
  6         int send_message(int echo)
  7 
  8 
  9 DESCRIPTION
 10         In the first form, send a message to the user associated with the
 11         current object, returning the number of bytes that could be sent.
 12         When used by the driver object, the string will be written to stderr.
 13         In the second form, user input echoing will be turned off or on,
 14         depending on the value of the argument being zero or non-zero,
 15         respectively; the return value is 1 if input echoing could be set, or 0
 16         otherwise.
 17         When the output buffer has emptied, message_done() will be called in
 18         the user object.  If send_message() is called again before the output
 19         buffer has fully drained, message_done() will not be called before the
 20         output buffer has emptied completely.
 21 
 22 SEE ALSO
 23         kfun/query_ip_name, kfun/query_ip_number, kfun/send_datagram,
 24         kfun/this_user, kfun/users

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.