9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

const.h (421B)


      1 #define NAMELEN   14 /* Maximum length of a file name */
      2 #define PATHLEN   41 /* Maximum length of a path */
      3 #define STATLEN   41 /* Size of static part of dir format */
      4 #define ROOTLEN   (2 + 4) /* Size needed to encode root string */
      5 #define FILNAMLEN (2 + NAMELEN) /* Size needed to encode filename */
      6 #define DIRLEN    (STATLEN + FILNAMLEN + 3*ROOTLEN) /* Size of dir entry */
      7 
      8 #define USERLEN 20
      9 #define LINELEN  80