Osmosis in C