Crew meals are different from passenger meals and are generally specified in the contract. We took some CO pilots sailing and got everyone Subway sandwiches ... little did we know at the time that their domestic crew meals were ... Subway sandwiches. I'm pretty sure they've since changed.
That said, if extra meals from F and C are available, they'll often get those. Sometimes the extra F sundae on UA gets split among those in the cockpit.
What's kind of funny is that many FAs don't seem to know that pilots can hear their conversations over the phone system (intercom?) on the plane. The FAs will frequently go into negotiations, We have three extra chickens from F and a pasta from C, which would you like? Often the FAs take their pick and then bring what's left to the cockpit, telling the pilots that's all that was left, not knowing the pilots heard the whole exchange. Granted this is not to say every FA does this, but it's a frequent happening on some carriers. Pilots I know find it more amusing than anything, afterall they're in a little better position to buy meals than are FAs, and they certainly aren't guaranteed passenger meals.