<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def version(major, minor, patch):
 """ Return the CZMQ version for run-time API detection; returns version number into provided fields, providing reference isn't null in each case. """

        return lib.zsys_version(byref(c_int.from_param(major)), byref(c_int.from_param(minor)), byref(c_int.from_param(patch)))