mkdir man page on DigitalUNIX

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

Digital UNIX Diffs - mkdir(5)			 Digital UNIX Diffs - mkdir(5)

       mkdir -	Creates a directory

       #include <sys/stat.h>
       #include <sys/types.h>
       int mkdir (
	       const char *path,
	       mode_t mode );

       Specifies  the  name  of the new directory.  Specifies the mask for the
       read, write, and execute (RWX) flags for owner, group, and others.

       vms-files(5): OpenVMS File System Differences

       The syntax of filename path are different  on  UNIX  and	 OpenVMS.   On
       OpenVMS, either a UNIX or VMS style directory name may be used.

       Setting	mode  to  0777	on OpenVMS results in the default OpenVMS file
       protections being used provided that you have  not  defined  a  default
       mask using umask(2).  This feature is not available on UNIX.

       UNIX  requires  that parent directory of the new directory being create
       exist.  OpenVMS will create a hierarchy of directories.

       OpenVMS does not set delete privilege for the directory	even  if  mode
       calls  for it.  You must use a separate chmod(2) call to set the delete
       privilege.  UNIX sets the delete protection based on mode.

       OpenVMS sets the UIC (groupID and userID in UNIX terms) to that of  the
       current	process.  UNIX uses the process' effective userID and the par‐
       ent directories groupID.	 This can be set to various other combinations
       by specifying mode values not supported on OpenVMS.

       Functions:  mkdir(2)


       delim off

						 Digital UNIX Diffs - mkdir(5)

List of man pages available for DigitalUNIX

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]
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