mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:32:45 +00:00 
			
		
		
		
	AK+Kernel: Move KResult.h to Kernel/API for userspace access
This commit moves the KResult and KResultOr objects to Kernel/API to signify that they may now be freely used by userspace code at points where a syscall-related error result is to be expected. It also exposes KResult and KResultOr to the global namespace to make it nicer to use for userspace code.
This commit is contained in:
		
							parent
							
								
									d8de352ead
								
							
						
					
					
						commit
						566c5d1e99
					
				
					 24 changed files with 28 additions and 25 deletions
				
			
		|  | @ -12,10 +12,10 @@ | |||
| #include <AK/RecursionDecision.h> | ||||
| #include <AK/StringView.h> | ||||
| #include <AK/Types.h> | ||||
| #include <Kernel/API/KResult.h> | ||||
| #include <Kernel/FileSystem/BlockBasedFileSystem.h> | ||||
| #include <Kernel/FileSystem/Inode.h> | ||||
| #include <Kernel/KBuffer.h> | ||||
| #include <Kernel/KResult.h> | ||||
| 
 | ||||
| namespace Kernel { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sin-ack
						sin-ack