ad-parse-arglist

ad-parse-arglist is a compiled Lisp function in `advice.el'.

(ad-parse-arglist ARGLIST)

Parse ARGLIST into its required, optional and rest parameters.
A three-element list is returned, where the 1st element is the list of
required arguments, the 2nd is the list of optional arguments, and the 3rd
is the name of an optional rest parameter (or nil).