LibC: Add ENTOSUP errno
This commit is contained in:
		
							parent
							
								
									1f2ceeb329
								
							
						
					
					
						commit
						4493c9bbe6
					
				|  | @ -8,6 +8,7 @@ | |||
| #define EISDIR 4 | ||||
| #define ENOENT 5 | ||||
| #define EIO 6 | ||||
| #define ENOTSUP 7 | ||||
| 
 | ||||
| __BEGIN_DECLS | ||||
| 
 | ||||
|  |  | |||
|  | @ -28,6 +28,9 @@ char* strerror(int error) | |||
| 	case EIO: | ||||
| 		strcpy(buffer, "Input/output error"); | ||||
| 		break; | ||||
| 	case ENOTSUP: | ||||
| 		strcpy(buffer, "Operation not supported"); | ||||
| 		break; | ||||
| 	default: | ||||
| 		{ | ||||
| 			// FIXME: sprintf
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue