cuserid man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]



     CUSERID(S)		      XENIX System V		    CUSERID(S)

     Name
	  cuserid - Gets the login name of the user.

     Syntax
	  #include <stdio.h>

	  char *cuserid (s)
	  char *s;

     Description
	  cuserid returns a pointer to string which represents the
	  login name of the owner of the current process.  If (int)s
	  is zero, this representation is generated in an internal
	  static area, the address of which is returned.  If (int)s is
	  nonzero, s is assumed to point to an array of at least
	  L_cuserid characters; the representation is left in this
	  array.  The manifest constant L_cuserid is defined in
	  <stdio.h>.

     Diagnostics
	  If the login name cannot be found, cuserid returns NULL; if
	  s is nonzero in this case, \0 will be placed at *s.

     See Also
	  getlogin(S), getpwent in getpwent(S)

     Notes
	  cuserid uses getpwnam (see getpwent(S)); thus the results of
	  a user's call to the latter will be obliterated by a
	  subsequent call to the former.

     Page 1					      (printed 8/7/87)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net