Male too probably... Space suits don't have a 'fly' I don't think. In fact, I remember in "The Right Stuff" one of the astronauts peed his suit waiting on launch of one of the early missions. Probably when they came up with the diaper idea.
The video is delightfully instructive ...
No, actually male astronauts have an "appliance" that is a high-tech equivalent of a mayonnaise jar, as well as a diaper.
Ah, well ... I came up with a neater, more efficient, and more invasive solution for my space opera.