• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
      • Io
      • Defttag
      • Sys-call
        • Sys-call+
        • Tshell
        • Sys-call-status
          • Sys-call*
        • Save-exec
        • Quicklisp
        • Oslib
        • Std/io
        • Bridge
        • Clex
        • Tshell
        • Unsound-eval
        • Hacker
        • Startup-banner
        • Command-line
      • Hardware-verification
      • Software-verification
      • Testing-utilities
      • Math
    • Sys-call
    • ACL2-built-ins

    Sys-call-status

    Exit status from the preceding system call

    This function returns two values, (mv status state). The first is the status resulting from the most recent call to the operating system by invoking function sys-call. The second is the ACL2 state object, which is also the input to this function.

    The function sys-call provides a command to be executed by the host operating system (except when invoked during a proof; see sys-call) using a function supplied ``under the hood'' by the underlying Lisp system. The status value is an integer, which is the status returned by the process when it completes.