[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How are system parameters entered into s-taprop.adb?


Another stupid question: How is the system parameter ENOMEM communicated
from s-osinte-gnu.ads to s-taprop-gnu.adb? There is no with statement in
the .adb file and adding

with System.OS_Interface; use System.OS_Interface;

defined in s-osinte.ads results in an error when compiling!

I suspect that EMOMEM is equal to zero. If it is, where is it set to
zero. Is that even possible in ADA??

I don't see any appropriate pragma Import (C,...)  and the with
statements are:
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
with Interfaces.C;
with System.Tasking.Debug;
with System.Interrupt_Management;
with System.OS_Primitives;
with System.Task_Info;
with System.Soft_Links;

Maybe  System.OS_Primitives is used, how to find out where that one is


Reply to: