mirror of
				https://gitlab.freedesktop.org/libbsd/libbsd.git
				synced 2025-11-04 12:17:40 +01:00 
			
		
		
		
	test: Add test case for fpurge(NULL)
This commit is contained in:
		@@ -32,6 +32,9 @@ main()
 | 
			
		||||
	static FILE fp_bad;
 | 
			
		||||
	FILE *fp;
 | 
			
		||||
 | 
			
		||||
	if (fpurge(NULL) == 0)
 | 
			
		||||
		return 1;
 | 
			
		||||
 | 
			
		||||
	if (fpurge(&fp_bad) == 0)
 | 
			
		||||
		return 1;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user