/core/io/backend/backend-docs.factor

http://github.com/abeaumont/factor · Factor · 12 lines · 9 code · 3 blank · 0 comment · 0 complexity · f88107ff2434a0d0142603f0079df4fc MD5 · raw file

  1. USING: help.markup help.syntax io io.backend strings
  2. byte-arrays ;
  3. HELP: io-multiplex
  4. { $values { "nanos" "a non-negative integer" } }
  5. { $contract "Waits up to " { $snippet "nanos" } " nanoseconds for pending I/O requests to complete." } ;
  6. HELP: init-io
  7. { $contract "Initializes the I/O system. Called on startup." } ;
  8. HELP: init-stdio
  9. { $contract "Initializes the global " { $link input-stream } " and " { $link output-stream } ". Called on startup." } ;