doc.odin 706 B

1234567891011
  1. // Package os provides a platform-independent interface to operating system functionality.
  2. // The design is UNIX-like but with Odin-like error handling. Failing calls return values with a specific error type rather than error number.
  3. //
  4. // The package os interface is intended to be uniform across all operating systems.
  5. // Features not generally available appear in the system-specific packages under core:sys/*.
  6. //
  7. //
  8. // IMPORTANT NOTE from Bill: this is purely a mockup of what I want the new package os to be, and NON-FUNCTIONING.
  9. // It is not complete but should give designers a better idea of the general interface and how to write things.
  10. // This entire interface is subject to change.
  11. package os2