Better subscription detection for C