/[cmucl]/src/code/unix-glibc2.lisp
ViewVC logotype

Diff of /src/code/unix-glibc2.lisp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43.4.4 by rtoy, Sun May 25 13:57:00 2008 UTC revision 1.43.4.5 by rtoy, Sat Nov 1 22:40:35 2008 UTC
# Line 185  Line 185 
185            unix-current-directory unix-isatty unix-ttyname unix-execve            unix-current-directory unix-isatty unix-ttyname unix-execve
186            unix-socket unix-connect unix-bind unix-listen unix-accept            unix-socket unix-connect unix-bind unix-listen unix-accept
187            unix-recv unix-send unix-getpeername unix-getsockname            unix-recv unix-send unix-getpeername unix-getsockname
188            unix-getsockopt unix-setsockopt            unix-getsockopt unix-setsockopt unix-openpty
189    
190            unix-recvfrom unix-sendto unix-shutdown            unix-recvfrom unix-sendto unix-shutdown
191    
# Line 1272  length LEN and type TYPE." Line 1272  length LEN and type TYPE."
1272    
1273  ;;; pty.h  ;;; pty.h
1274    
1275  #+(or)  (defun unix-openpty (name termp winp)
 (defun unix-openpty (amaster aslave name termp winp)  
1276    "Create pseudo tty master slave pair with NAME and set terminal    "Create pseudo tty master slave pair with NAME and set terminal
1277     attributes according to TERMP and WINP and return handles for both     attributes according to TERMP and WINP and return handles for both
1278     ends in AMASTER and ASLAVE."     ends in AMASTER and ASLAVE."
1279    (int-syscall ("openpty" (* int) (* int) c-string (* (struct termios))    (with-alien ((amaster int)
1280                            (* (struct winsize)))                 (aslave int))
1281                 amaster aslave name termp winp))      (values
1282         (int-syscall ("openpty" (* int) (* int) c-string (* (struct termios))
1283                                 (* (struct winsize)))
1284                      (addr amaster) (addr aslave) name termp winp)
1285         amaster aslave)))
1286    
1287  #+(or)  #+(or)
1288  (defun unix-forkpty (amaster name termp winp)  (defun unix-forkpty (amaster name termp winp)

Legend:
Removed from v.1.43.4.4  
changed lines
  Added in v.1.43.4.5

  ViewVC Help
Powered by ViewVC 1.1.5