Fixing (chibi net) docs.

This commit is contained in:
Alex Shinn 2014-08-22 22:44:42 +09:00
parent c8f61c8893
commit 424671e5cf
2 changed files with 4 additions and 4 deletions

View file

@ -69,7 +69,7 @@
(close-file-descriptor (car io))
res))))
;;> \subsubsubsection{\scheme{(make-listener-socket addrinfo [max-conn])}}
;;> \procedure{(make-listener-socket addrinfo [max-conn])}
;;> Convenience wrapper to call socket, bind and listen to return
;;> a socket suitable for accepting connections on the given

View file

@ -103,7 +103,7 @@
;;> Set an option for the given socket. For example, to make the
;;> address reusable:
;;> @scheme{(set-socket-option! sock level/socket socket-opt/reuseaddr 1)}
;;> \scheme{(set-socket-option! sock level/socket socket-opt/reuseaddr 1)}
(define-c errno (set-socket-option! "setsockopt")
(fileno int int (pointer int) (value (sizeof int) socklen_t)))
@ -121,6 +121,6 @@
(define-c-const int (socket-opt/rcvlowat "SO_RCVLOWAT"))
(define-c-const int (socket-opt/sndlowat "SO_SNDLOWAT"))
;;> The constants for the @scheme{get-socket-option} and
;;> @scheme{set-socket-option!}.
;;> The constants for the \scheme{get-socket-option} and
;;> \scheme{set-socket-option!}.
;;/