mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-26 05:00:28 +02:00
Add 'set-port-binary/text-mode!' procedure for MinGW.
* libguile/ports.c (scm_init_ports)[O_BINARY]: Define 'O_BINARY'. [O_TEXT]: Define 'O_TEXT'. (scm_c_set_port_binary_text_mode_x): New function. * libguile/ports.h (scm_set_binary_text_mode_x): Declare it. * module/ice-9/ports.scm (ice-9): Export it as 'set-port-binary/text-mode!'. * doc/ref/api-io.texi (File Ports): Document it.
This commit is contained in:
parent
2d82b49cf3
commit
d58c9411ae
4 changed files with 57 additions and 0 deletions
|
@ -69,6 +69,7 @@
|
|||
port-for-each
|
||||
flush-all-ports
|
||||
%make-void-port
|
||||
set-port-binary/text-mode!
|
||||
|
||||
;; Definitions from fports.c.
|
||||
open-file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue