Search Results

  1. Examples ¶ Example #1 posix_ctermid () example This example will display the path to the current TTY.

  2. pubs.opengroup.org › onlinepubs › 9799919799ctermid - Open Group

    DESCRIPTION The ctermid () function shall generate a string that, when used as a pathname, refers to the current controlling terminal for the current process. If ctermid () returns a pathname, access to the file is not guaranteed. The ctermid () function need not be thread-safe if called with a NULL parameter. RETURN VALUE If s is a null pointer, the string shall be generated in an area that ...

  3. DESCRIPTION The ctermid () function shall generate a string that, when used as a pathname, refers to the current controlling terminal for the current process. If ctermid () returns a pathname, access to the file is not guaranteed. If the application uses any of the _POSIX_THREAD_SAFE_FUNCTIONS or _POSIX_THREADS functions, it shall ensure that the ctermid () function is called with a non-NULL ...

  4. English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.

  5. posix_ctermid -- Get path name of controlling terminal Description

  6. Man page for ctermid(3posix) on posix, from the unix.com online archive.

  7. Conforming applications that use threads cannot call ctermid () with NULL as the parameter if either _POSIX_THREAD_SAFE_FUNCTIONS or _POSIX_THREADS is defined. If s is not NULL, the ctermid () function generates a string that, when used as a pathname, refers to the current controlling terminal for the current process. If s is NULL, the return value of ctermid () is undefined.

  1. People also search for