point-max-marker

point-max-marker is a built-in function in `C source code'.

(point-max-marker)

Return a marker to the maximum permissible value of point in this buffer.
This is (1+ (buffer-size)), unless narrowing (a buffer restriction)
is in effect, in which case it is less.