Discuss the development of new homebrew software, tools and libraries.
	Moderators: cheriff, TyRaNiD
			
		
		
			- 
				
																			
								liberty							 
									
		- Posts: 33
 		- Joined: Wed Sep 16, 2009 11:30 am
 		
		
						
						
		
		
						
					
													
							
						
									
						Post
					
								by liberty » 
			
			
			
			
			I know using fopen to check if a file is available, but I don't know how to check if a directory is available. Anyone can suggest some ways? Thanks
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			- 
				
								Torch							
 
									
		- Posts: 825
 		- Joined: Wed May 28, 2008 2:50 am
 		
		
						
						
		
		
						
					
						
		
													
							
						
									
						Post
					
								by Torch » 
			
			
			
			
			sceIoDopen
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			
								lego							 
									
		- Posts: 43
 		- Joined: Fri Oct 17, 2008 1:09 am
 		
		
						
						
		
		
						
					
						
		
													
							
						
									
						Post
					
								by lego » 
			
			
			
			
			opendir (man 3 opendir)?
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			
								liberty							 
									
		- Posts: 33
 		- Joined: Wed Sep 16, 2009 11:30 am
 		
		
						
						
		
		
						
					
						
		
													
							
						
									
						Post
					
								by liberty » 
			
			
			
			
			SceIODopen and opendir both work great. Thank you very much!