Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,070   Yesterday: 1,252   Max: 1,872   Total: 484,649   Current Users : 15 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 
Search Linux manpages For:  

getpt(3) -- Linux man page

 

NAME

getpt - open the pseudo-terminal master (PTM)  

SYNOPSIS

#include <stdlib.h>

int getpt(void)
 

DESCRIPTION

getpt() opens a pseudo-terminal master and returns its file descriptor. It is equivalent to open(/dev/ptmx,O_RDWR|O_NOCTTY) on Linux systems, though the pseudo-terminal master is located elsewhere on some systems that use GNU Libc.

 

RETURN VALUE

getpt() returns an open file descriptor upon successful completion. Otherwise, it returns -1 and sets errno to indicate the error.  

CONFORMING TO

getpt() is specific to GNU Libc.  

SEE ALSO

ptmx(4), grantpt(3), unlockpt(3), ptsname(3)


 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.