[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_MkdirWithQuota

Overview

Create a directory while enforcing quota

Syntax

    int Ns_MkdirWithQuota(
      char *hServer, 
      char *dirname, 
      int   mkdirmode
    )

Description

This function performs a mkdir (like the libc mkdir function) while enforcing the quota set by the QuotaSize configuration parameter. It returns -1 for an error. NS_QUOTA is returned if the quota is exceeded. If a directory is created that causes the quota to be exceeded, the directory is removed.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.