A bash shell function in C.