mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:22:43 +00:00 
			
		
		
		
	LibC: Made mbtowc return int instead of size_t
This commit is contained in:
		
							parent
							
								
									5fbb8f9c6a
								
							
						
					
					
						commit
						db31452bc2
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -796,7 +796,7 @@ size_t mbstowcs(wchar_t*, const char*, size_t) | |||
|     ASSERT_NOT_REACHED(); | ||||
| } | ||||
| 
 | ||||
| size_t mbtowc(wchar_t* wch, const char* data, size_t data_size) | ||||
| int mbtowc(wchar_t* wch, const char* data, size_t data_size) | ||||
| { | ||||
|     // FIXME: This needs a real implementation.
 | ||||
|     UNUSED_PARAM(data_size); | ||||
|  |  | |||
|  | @ -74,7 +74,7 @@ int mkstemp(char*); | |||
| char* mkdtemp(char*); | ||||
| void* bsearch(const void* key, const void* base, size_t nmemb, size_t size, int (*compar)(const void*, const void*)); | ||||
| size_t mbstowcs(wchar_t*, const char*, size_t); | ||||
| size_t mbtowc(wchar_t*, const char*, size_t); | ||||
| int mbtowc(wchar_t*, const char*, size_t); | ||||
| int wctomb(char*, wchar_t); | ||||
| size_t wcstombs(char*, const wchar_t*, size_t); | ||||
| char* realpath(const char* pathname, char* buffer); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Luke
						Luke