• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
          • Scopestack
          • Filtering-by-name
          • Vl-namefactory
          • Substitution
          • Allexprs
          • Hid-tools
          • Vl-consteval
          • Range-tools
          • Lvalexprs
          • Hierarchy
          • Finding-by-name
          • Expr-tools
          • Expr-slicing
          • Stripping-functions
          • Stmt-tools
          • Modnamespace
          • Vl-parse-expr-from-str
          • Welltyped
          • Reordering-by-name
          • Flat-warnings
          • Genblob
          • Expr-building
          • Datatype-tools
          • Syscalls
            • Vl-syscall->returninfo
            • Vl-*ary-syscall-p
              • Vl-*ary-syscall->args
              • Vl-unary-syscall-p
              • Vl-0ary-syscall-p
              • Vl-sysfun-should-size-args-p
              • Vl-$random-expr-p
              • Vl-sysfunexpr->name
              • Vl-sysfunexpr-p
              • Vl-unary-syscall->arg
            • Relocate
            • Expr-cleaning
            • Namemangle
            • Caremask
            • Port-tools
            • Lvalues
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-*ary-syscall-p

    Vl-*ary-syscall->args

    Access the argument to a vl-*ary-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-*ary-syscall->args

    (defmacro vl-*ary-syscall->args (x)
      (cons 'second
            (cons (cons 'vl-nonatom->args (cons x 'nil))
                  'nil)))