Tested in Linux.