Line-Triangle collision detection

Hi!

Does anyone know simple Line-Triangle(does line clip triangle) collision detection code.

I have used this one. http://www.cfxweb.net/~cfxamir/tutorials.html

http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg3.htm