The pins I am referring to are for securing a mortice and tenon joint.
As Ken points out, the mortice and tenon is temporarily secured during layout with a hook pin, a metal tapered pin.
But remember also that the tapered framing pins are able to be removed by drifting them out from the inside of the frame.
I use "treenail" for the square pegs fitted into a round hole, used to secure scarf joints together and to secure purlins to rafters etc.