2 * Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
10 pty_error_table(long errorno
) {
14 return(dgettext(TEXT_DOMAIN
,
15 "Failed to unlock or grant streams pty."));
17 return(dgettext(TEXT_DOMAIN
,
18 "fstat of master pty failed"));
20 return(dgettext(TEXT_DOMAIN
,
21 "All terminal ports in use"));
23 return(dgettext(TEXT_DOMAIN
,
24 "buffer to hold slave pty name is too short"));
26 return(dgettext(TEXT_DOMAIN
,
27 "Failed to open slave side of pty"));
29 return(dgettext(TEXT_DOMAIN
,
30 "Failed to chmod slave side of pty"));
32 return(dgettext(TEXT_DOMAIN
,
33 "Unable to set controlling terminal"));
35 return(dgettext(TEXT_DOMAIN
,
36 "Failed to chown slave side of pty"));
38 return(dgettext(TEXT_DOMAIN
,
39 "Call to line_push failed to push streams on slave pty"));
41 return(dgettext(TEXT_DOMAIN
,
42 "Failed to push stream on slave side of pty"));
44 return(dgettext(TEXT_DOMAIN
,
45 "Failed to revoke slave side of pty"));
47 return(dgettext(TEXT_DOMAIN
,
48 "bad process type passed to pty_update_utmp"));
50 return(dgettext(TEXT_DOMAIN
,
51 "Slave pty name is zero-length"));
53 return("unknown error");