Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

System Limits

For each limit that it specifies, SUSv3 requires that all implementations support a minimum value for the limit. In most cases, this minimum value is defined as a constant in <limits.h> with a name prefixed by the string _POSIX_, and (usually) containing the string _MAX; thus, the form of the name is _POSIX_XXX_MAX.

If an application restricts itself to the minimum values that SUSv3 requires for each limit, then it will be portable to all implementations of the standard. However, doing so prevents an application from taking advantage of implementations that provide higher limits. For this reason, it is usually preferable to determine the limit on a particular system using <limits.h>, sysconf(), or pathconf().


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint