[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-core NEWS
From: |
Mikael Djurfeldt |
Subject: |
guile/guile-core NEWS |
Date: |
Sun, 25 Feb 2001 19:06:44 -0800 |
CVSROOT: /cvs
Module name: guile
Changes by: Mikael Djurfeldt <address@hidden> 01/02/25 19:06:44
Modified files:
guile-core : NEWS
Log message:
ports.c, ports.h (scm_c_read, scm_c_write): New functions.
ports.h (SCM_READ_BUFFER_EMPTY_P): New macro.
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/NEWS.diff?r1=1.248&r2=1.249
Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.248 guile/guile-core/NEWS:1.249
--- guile/guile-core/NEWS:1.248 Sun Feb 25 11:33:02 2001
+++ guile/guile-core/NEWS Sun Feb 25 19:06:44 2001
@@ -1,5 +1,5 @@
Guile NEWS --- history of user-visible changes. -*- text -*-
-Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
See the end for copying conditions.
Please send Guile bug reports to address@hidden
@@ -371,6 +371,23 @@
* Changes to the gh_ interface
* Changes to the scm_ interface
+
+** New function: scm_c_read (SCM port, void *buffer, scm_sizet size)
+
+Used by an application to read arbitrary number of bytes from a port.
+Same semantics as libc read, except that scm_c_read only returns less
+than SIZE bytes if at end-of-file.
+
+Warning: Doesn't update port line and column counts!
+
+** New function: scm_c_write (SCM port, const void *ptr, scm_sizet size)
+
+Used by an application to write arbitrary number of bytes to an SCM
+port. Similar semantics as libc write. However, unlike libc
+write, scm_c_write writes the requested number of bytes and has no
+return value.
+
+Warning: Doesn't update port line and column counts!
** New function: scm_init_guile ()