Do pilots really not smoke in the cockpit? What does that mean for landings?

As I entered the airport this morning, I passed a couple of pilots who were standing outside in the cold, smoking. Judging from the desperate way they were dragging on those cigarettes, they were hooked, really hooked, on tobacco.

As Toronto is a departure point for several long range flights, it got me to thinking. Airplanes are all non-smoking now, right? And some flights can extend to 10 to 14 hours. Do the pilots really go that long without a cigarette? And if they do, what are their nerves like when it comes time to land at the end of a long flight?

I hope that all my flights are piloted by non-smokers. But how would I know?