mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	Kernel: Alias MAXNAMLEN to NAME_MAX
MAXNAMLEN is the BSD name for NAME_MAX, as used by some programs.
This commit is contained in:
		
							parent
							
								
									f9a006d092
								
							
						
					
					
						commit
						1262a7d142
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -6,6 +6,7 @@ | ||||||
| 
 | 
 | ||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
|  | #include <Kernel/API/POSIX/sys/limits.h> | ||||||
| #include <Kernel/API/POSIX/sys/types.h> | #include <Kernel/API/POSIX/sys/types.h> | ||||||
| 
 | 
 | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
|  | @ -33,6 +34,8 @@ enum { | ||||||
| #define DT_WHT DT_WHT | #define DT_WHT DT_WHT | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  | #define MAXNAMLEN NAME_MAX | ||||||
|  | 
 | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Seal Sealy
						Seal Sealy