Where can I find frustum code?

I am looking for the implementation of frustum. My google search hasn’t helped so direct code or a link would be great!

mat4 frustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
GLfloat near, GLfloat far);

[ul]
[li]OpenGL Spec, Version 2.1[/li][li]OpenGL Projection Matrix (Ahn)[/li][li]GLM - OpenGL Mathematics Library (Riccio)[/li][/ul]