mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-30 10:45:40 +03:00 
			
		
		
		
	Now that fstat is implemented on top fstatat we need to handle negative inputs. The implementation now rejects AT_FDCWD, which would otherwise be accepted by the kernel. Checked on x86_64-linux-gnu and on i686-linux-gnu.
		
			
				
	
	
		
			3 lines
		
	
	
		
			51 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			51 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #define _FILE_OFFSET_BITS 64
 | |
| #include "tst-stat.c"
 |