summaryrefslogtreecommitdiffstats
path: root/gcc/ada/s-os_lib.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-os_lib.ads')
-rw-r--r--gcc/ada/s-os_lib.ads7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ada/s-os_lib.ads b/gcc/ada/s-os_lib.ads
index 03557b65597..92bf50c8d2f 100644
--- a/gcc/ada/s-os_lib.ads
+++ b/gcc/ada/s-os_lib.ads
@@ -962,6 +962,13 @@ package System.OS_Lib is
pragma Import (C, Set_Errno, "__set_errno");
-- Set the task-safe error number
+ function Errno_Message
+ (Err : Integer := Errno;
+ Default : String := "") return String;
+ -- Return a message describing the given Errno value. If none is provided
+ -- by the system, return Default if not empty, else return a generic
+ -- message indicating the numeric errno value.
+
Directory_Separator : constant Character;
-- The character that is used to separate parts of a pathname
OpenPOWER on IntegriCloud