


     ptsname_L(LSB.os/devRelease 1.1 (UniSofptsname_L(LSB.os/devclass)



     NAME
	  LSB.os/devclass/ptsname_L - get name of the slave pseudo-
	  terminal device test case

     DESCRIPTION
	  This test case tests the ptsname() system call interface for
	  conformance to The Open Group's CAE Specification: System
	  Interfaces and Headers, page:ptsname()

     TESTS
	  1    When fildes refers to a master pseudo-terminal device,
	       then a call to ptsname(fildes) returns a	pointer	to a
	       zero-terminated string containing the pathname of the
	       corresponding slave device.

	  2    When fildes does	not refer to a master pseudo-terminal
	       device, then a call to ptsname(fildes) returns a	NULL
	       pointer.
	       Testing requirements: Test using	a valid	open file
	       descriptor, and a file descriptor that does not refer
	       to an open file.

     Untestable	aspects
	  1    When fildes refers to a master pseudo-terminal device
	       and the corresponding slave device does not exist in
	       the file	system,	then a call to ptsname(fildes) returns
	       a NULL pointer.
	       Reason for omission: The	corresponding statement	in the
	       standard	to which conformance is	being measured is not
	       specific	enough to write	a portable test.

     RELEASE
	  LSB-os 1.1 (00/11/23)






















     Page 1					    (printed 2/21/103)



