See the comments at the beginning of /usr/sbin/lcdc.