]> git.eshelyaron.com Git - emacs.git/commit
Add set-binary-mode primitive to switch a standard stream to binary I/O.
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Jan 2015 15:50:50 +0000 (17:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Jan 2015 15:50:50 +0000 (17:50 +0200)
commit0f238ea450b3a976f04c95c4cf8befaadad1cdd0
treecd278a1441bd610bd91eb7fbd6f38aea7aa4bca8
parent3b7eed4ebb3c18799ec791d0c6bd53c019f48f73
Add set-binary-mode primitive to switch a standard stream to binary I/O.

 src/fileio.c: Include binary-io.h.
 (Fset_binary_mode): New function.
 (syms_of_fileio): Defsubr it.
 (syms_of_fileio) <Qstdin, Qstdout, Qstderr>: DEFSYM them.

 admin/unidata/unidata/uvs.el (uvs-print-table-ivd): Call set-binary-mode on
 stdout.

 doc/lispref/streams.texi (Input Functions): Document 'set-binary-mode'.
 (Output Functions): Cross-reference to documentation of
 'set-binary-mode'.

 etc/NEWS: Mention 'set-binary-mode'.
admin/ChangeLog
admin/unidata/uvs.el
doc/lispref/ChangeLog
doc/lispref/streams.texi
etc/ChangeLog
etc/NEWS
src/ChangeLog
src/fileio.c