/[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.44 by cshapiro, Wed Sep 24 09:42:31 2008 UTC revision 1.44.4.1 by rtoy, Fri Oct 10 18:36:48 2008 UTC
# Line 1272  length LEN and type TYPE." Line 1272  length LEN and type TYPE."
1272    
1273  ;;; pty.h  ;;; pty.h
1274    
1275  (defun unix-openpty (amaster aslave name termp winp)  (defun unix-openpty (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.44  
changed lines
  Added in v.1.44.4.1

  ViewVC Help
Powered by ViewVC 1.1.5