1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/modula-3-lib/files/patch-bl

26 lines
835 B
Plaintext
Raw Normal View History

Support for SOCKS wrappers in Uuio.i3.
Index: m3/m3core/src/unix/freebsd-2/Uuio.i3
--- Uuio.i3.orig Sat Jan 7 14:22:23 1995
+++ Uuio.i3 Tue Oct 8 14:22:15 1996
@@ -50,13 +50,17 @@
(*** read, readv(2) - read from a file ***)
-<*EXTERNAL*> PROCEDURE read (d: int; buf: char_star; nbytes: int): int;
+<*EXTERNAL "m3_read"*>
+PROCEDURE read (d: int; buf: char_star; nbytes: int): int;
+
<*EXTERNAL*> PROCEDURE readv (d: int; iov: struct_iovec_star;
iovcnt: int): int;
(*** write, writev(2) - write on a file ***)
-<*EXTERNAL*> PROCEDURE write (d: int; buf: char_star; nbytes: int): int;
+<*EXTERNAL "m3_write"*>
+PROCEDURE write (d: int; buf: char_star; nbytes: int): int;
+
<*EXTERNAL*> PROCEDURE writev (d: int; iov: struct_iovec_star;
ioveclen: int): int;