As you can see from the output (Listing 2), the perror function displays the string you pass to it, followed by a colon, a space, and then the textual representation of the current errno value.
The toroidal core was excited by sharp pulse current. The sensor circuit is composed of peak value detector, Butterworth low-pass filter and differential amplifier.