Constants in the process of Android Java and C + + calls, path name, file name, suffix name maximum length

Source: Internet
Author: User

/****************************************************************************
****************************************************************************
***
This header is automatically generated from a Linux kernel header
Of the same name, to make information necessary for userspace to
Call into the kernel available to libc. It contains only constants,
Structures, and macros generated from the original header, and thus,
Contains no copyrightable information.
***
To edit the content of this header, modify the corresponding
source file (e.g. under external/kernel-headers/original/) Then
Run bionic/libc/kernel/tools/update_all.py
***
Any manual, here would be lost, the next time this script would
Be run. You ' ve been warned!
***
****************************************************************************
****************************************************************************/
#ifndef _linux_limits_h
#define _linux_limits_h
#define Nr_open 1024
#define NGROUPS_MAX 65536
/* Warning:do not EDIT, auto-generated code-see TOP for instructions */
#define ARG_MAX 131072
#define CHILD_MAX 999
#define OPEN_MAX 256
#define LINK_MAX 127
/* Warning:do not EDIT, auto-generated code-see TOP for instructions */
#define Max_canon 255
#define MAX_INPUT 255
#define NAME_MAX 255
#define PATH_MAX 4096
/* Warning:do not EDIT, auto-generated code-see TOP for instructions */
#define PIPE_BUF 4096
#define XATTR_NAME_MAX 255
#define XATTR_SIZE_MAX 65536
#define XATTR_LIST_MAX 65536
/* Warning:do not EDIT, auto-generated code-see TOP for instructions */
#define RTSIG_MAX 32
#endif

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.