• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Vwsim
      • Fgl
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
          • Scopestack
          • Hid-tools
          • Filtering-by-name
          • Vl-interface-mocktype
          • Stripping-functions
          • Genblob
          • Expr-tools
          • Hierarchy
          • Extract-vl-types
          • Range-tools
          • Finding-by-name
          • Stmt-tools
          • Modnamespace
          • Flat-warnings
          • Reordering-by-name
          • Datatype-tools
          • Syscalls
            • Vl-syscall->returninfo
            • Vl-unary-syscall-p
            • Vl-typearg-syscall-p
            • Vl-0ary-syscall-p
            • Vl-*ary-syscall-p
            • Vl-$random-expr-p
            • Vl-simple-id-name
            • Vl-unary-syscall->arg
            • Allexprs
            • Lvalues
            • Port-tools
          • Transforms
        • Svl
        • X86isa
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Syscalls

    Vl-unary-syscall->arg

    Access the argument to a vl-unary-syscall-p, not including the function name.

    This is mostly intended to avoid confusion since the function name is the first argument to the :vl-syscall.

    Macro: vl-unary-syscall->arg

    (defmacro vl-unary-syscall->arg (x)
      (cons 'first
            (cons (cons 'vl-call->args (cons x 'nil))
                  'nil)))