diff --git a/lib/chibi/net.scm b/lib/chibi/net.scm index 0d1fcd08..e3ef3436 100644 --- a/lib/chibi/net.scm +++ b/lib/chibi/net.scm @@ -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 diff --git a/lib/chibi/net.stub b/lib/chibi/net.stub index c4a757ce..568a4077 100644 --- a/lib/chibi/net.stub +++ b/lib/chibi/net.stub @@ -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!}. ;;/