What happens if I open some sockets or FILEs and then fork?

My assumption is that the original resources will still be useable, but they will be invalid in the child processes. Is that right?