Reference

comedi_get_clock_source(3) on Linux

The text f6db3e5a346e, as Debian 9 (Stretch) shipped it.

get master clock for a subdevice

comedi_get_clock_source(3) on Linux now