Fluctuation theorem for the effusion of an ideal gas.