LinuxGuruz
  • Last 5 Forum Topics
    Replies
    Views
    Last post


The Web Only This Site
  • BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






  • LINUX man pages
  • Linux Man Page Viewer


    The following form allows you to view linux man pages.

    Command:

    unlockpt

    
    
    

    SYNOPSIS

           #define _XOPEN_SOURCE       /* See feature_test_macros(7) */
           #include <stdlib.h>
    
           int unlockpt(int fd);
    
    
    

    DESCRIPTION

           The  unlockpt() function unlocks the slave pseudoterminal device corre-
           sponding to the master pseudoterminal referred to by fd.
    
           unlockpt() should be called before opening the slave side  of  a  pseu-
           doterminal.
    
    
    

    RETURN VALUE

           When  successful,  unlockpt()  returns 0.  Otherwise, it returns -1 and
           sets errno appropriately.
    
    
    

    ERRORS

           EBADF  The fd argument is not a file descriptor open for writing.
    
           EINVAL The fd argument is not associated with a master  pseudoterminal.
    
    
    

    VERSIONS

           unlockpt() is provided in glibc since version 2.1.
    
    
    

    ATTRIBUTES

       Multithreading (see pthreads(7))
           The unlockpt() function is thread-safe.
    
    
    

    CONFORMING TO

           POSIX.1-2001.
    
    
    

    SEE ALSO

           grantpt(3), posix_openpt(3), ptsname(3), pts(4), pty(7)
    
                                      2013-12-09                       UNLOCKPT(3)
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

webmaster@linuxguruz.com
Copyright © 1999 - 2016 by LinuxGuruz