]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/io/serial/linux/linux.factor
classes.struct: moving to new/boa instead of <struct>/<struct-boa>
[factor.git] / extra / io / serial / linux / linux.factor
index aa060a970edeaa9da7f86def41cc8a6a88337fc4..6c6e73621a3d4dd9b2258101cf609a7a8d6d583c 100644 (file)
@@ -23,7 +23,7 @@ IN: io.serial.linux
     stream>> in>> handle>> fd>> ;
 
 : get-fd-termios ( fd -- serial )
-    termios <struct> [ tcgetattr io-error ] keep ;
+    termios new [ tcgetattr io-error ] keep ;
 
 : set-termios ( serial -- )
     [ serial-fd get-fd-termios ] keep termios<< ;