According to code, what is the minimum requirement for toe nailing ceiling joists to the top plate?

According to code, what is the minimum requirement for toe nailing ceiling joists to the top plate?