buffer-end

buffer-end is a compiled Lisp function in `lisp.el'.

(buffer-end ARG)

Return the "far end" position of the buffer, in direction ARG.
If ARG is positive, that's the end of the buffer.
Otherwise, that's the beginning of the buffer.