fchmod_fchmod man page on OSF1

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

chmod (SunOS)							 chmod (SunOS)

NAME
       chmod, fchmod - Changes file access permissions

SUN OS SYNOPSIS
       #include <sys/stat.h>
       int chmod (
	       char *path,
	       mode_t mode );
       int fchmod (
	       int filedes,
	       int mode );

DIGITAL UNIX SYNOPSIS
       #include <sys/mode.h>
       #include <sys/types.h>
       #include <sys/stat.h>
       int chmod (
	       const char *path,
	       mode_t mode );
       int fchmod (
	       int filedes,
	       mode_t mode );

PARAMETERS
       Specifies  the full pathname of the file.  If the path parameter refers
       to a symbolic link, the chmod() function changes access permissions  on
       the file specified by the symbolic link.	 Specifies the file descriptor
       of an open file.	 Specifies the bit pattern which determines the access
       permissions.

DIFFERENCES
       Requires	 the  sys/mode.h,  sys/types.h,	 and  sys/stat.h header files.
       Octal constants have been changed to symbolic values for mode.	Decla‐
       ration  of mode has been changed to mode_t.  The chmod and fchmod calls
       set errno to ESTALE if  the  process'  root  or	current	 directory  is
       located on a virtual file system that has been unmounted.  Adds support
       for symbolic links - it can set errno to ELOOP.

RELATED INFORMATION
       Digital UNIX Functions:

	   chmod(2) delim off

								 chmod (SunOS)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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