This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This software was written by Naoki Shibata in 2018. https://gist.github.com/shibatch | |
// No copyright is claimed, and the software is hereby placed in the public domain. | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
int setFreq(double d) { |