936 |
Special treatment is required for ports which can be seeked at random. |
Special treatment is required for ports which can be seeked at random. |
937 |
Before various operations, such as seeking the port or changing from |
Before various operations, such as seeking the port or changing from |
938 |
input to output on a bidirectional port or vice versa, the port |
input to output on a bidirectional port or vice versa, the port |
939 |
implemention must be given a chance to update its state. The write |
implementation must be given a chance to update its state. The write |
940 |
buffer is updated by calling the @code{flush} ptob procedure and the |
buffer is updated by calling the @code{flush} ptob procedure and the |
941 |
input buffer is updated by calling the @code{end_input} ptob procedure. |
input buffer is updated by calling the @code{end_input} ptob procedure. |
942 |
In the case of an fport, @code{flush} causes buffered output to be |
In the case of an fport, @code{flush} causes buffered output to be |
1066 |
Set using @code{scm_set_port_flush}. |
Set using @code{scm_set_port_flush}. |
1067 |
|
|
1068 |
@item end_input |
@item end_input |
1069 |
Perform any synchronisation required when switching from input to output |
Perform any synchronization required when switching from input to output |
1070 |
on the port. Reset the value of @code{rw_active} to @code{SCM_PORT_NEITHER}. |
on the port. Reset the value of @code{rw_active} to @code{SCM_PORT_NEITHER}. |
1071 |
Set using @code{scm_set_port_end_input}. |
Set using @code{scm_set_port_end_input}. |
1072 |
|
|