2 ; Ullrich von Bassewitz, 2003-08-12, 2005-04-16
4 ; Place to store the current working directory.
6 ; __cwd is initialized by a platform specific function named "initcwd" called
7 ; by the constructor defined in this module.
11 .export __cwd_buf_size
18 __cwd_buf_size = FILENAME_MAX
24 __cwd: .res __cwd_buf_size
27 ; NOTE: Some of the code working with directories is not able to handle
28 ; strings longer than 255 chars, so don't make __cwd larger than 256 without
29 ; checking the other sources.
31 .assert __cwd_buf_size < 256, error, "__cwd_buf_size must not be > 255"