Function: write-char

write-char is a function defined in print.c.

Signature

(write-char CHARACTER &optional PRINTCHARFUN)

Documentation

Output character CHARACTER to stream PRINTCHARFUN.

PRINTCHARFUN defaults to the value of standard-output (which see).

View in manual

Source Code

// Defined in /usr/src/emacs/src/print.c
{
  if (NILP (printcharfun))
    printcharfun = Vstandard_output;
  CHECK_FIXNUM (character);
  struct print_context pc = print_prepare (printcharfun);
  printchar (XFIXNUM (character), pc.printcharfun);
  print_finish (&pc);
  return character;
}