Subversion Repositories HelenOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Constants which define limits of file system capabilities. */
  2.  
  3. #ifndef _LIMITS_H_
  4. #define _LIMITS_H_
  5.  
  6. /* Number of slots in the process table for user processes. */
  7. #define NR_PROCS    20
  8.  
  9. #define NAME_MAX    14  // #chars in file name
  10. #define NAME_MAX_EX 30  // #chars in file name - extended versions
  11. #define PATH_MAX    255 // #chars in path name
  12. #define OPEN_MAX    20  // open files a process may have
  13.  
  14. /* Maximum of messages that can be sent in phase of initiating of new consumer connection. */
  15. #define COUNTER_MAX 5  
  16.  
  17. #endif /* _LIMITS_H_ */
  18.