class_docstr: This class represents a process running in a pseudoterminal.
  
  The main constructor is the :meth:`spawn` classmethod.
docstr: This sends an EOF to the child. This sends a character which causes
  the pending parent output buffer to be sent to the waiting child
  program without waiting for end-of-line. If it is the first character
  of the line, the read() in the user program returns 0, which signifies
  end-of-file. This means to work as expected a sendeof() has to be
  called at the beginning of a line. This method does not send a newline.
  It is the responsibility of the caller to ensure the eof is sent at the
  beginning of a line. 
docstr_tok: ["This","sends","an","EOF","to","the","child",".","This","sends","a","character","which","causes","the","pending","parent","output","buffer","to","be","sent","to","the","waiting","child","program","without","waiting","for","end-of-line",".","If","it","is","the","first","character","of","the","line",",","the","read","(",")","in","the","user","program","returns","0",",","which","signifies","end-of-file",".","This","means","to","work","as","expected","a","sendeof","(",")","has","to","be","called","at","the","beginning","of","a","line",".","This","method","does","not","send","a","newline",".","It","is","the","responsibility","of","the","caller","to","ensure","the","eof","is","sent","at","the","beginning","of","a","line","."]
code: def sendeof(self):
      """This sends an EOF to the child. This sends a character which causes
      the pending parent output buffer to be sent to the waiting child
      program without waiting for end-of-line. If it is the first character
      of the line, the read() in the user program returns 0, which signifies
      end-of-file. This means to work as expected a sendeof() has to be
      called at the beginning of a line. This method does not send a newline.
      It is the responsibility of the caller to ensure the eof is sent at the
      beginning of a line."""
  
      return self._writeb(_EOF), _EOF
  
imports: import codecs
  import errno
  import fcntl
  import io
  import os
  import pty
  import resource
  import signal
  import struct
  import sys
  import termios
  import time
  from pty import STDIN_FILENO, CHILD
  from .util import which, PtyProcessError
label_desc: Use image node_id 19 for calling the PtyProcess obj's underlying member method code with example usage: obj.sendeof() and returns: self,  _EOF