Samples of use the signals in C