More precise language: what is called data pointer, C calls object pointer.

Also delete reference to non-existing lint(1).
This commit is contained in:
Jens Schweikhardt 2022-09-16 19:40:11 +02:00
parent 59a1db5be6
commit e6044abdbe

View File

@ -326,11 +326,9 @@ triggering compiler diagnostics.
(The
.Fn dlsym
function
returns a data pointer; in the C standard, conversions between
data and function pointer types are undefined.
Some compilers and
.Xr lint 1
utilities warn about such casts.)
returns an object pointer; in the C standard, conversions between
object and function pointer types are undefined.
Some compilers and lint utilities warn about such casts.)
The precise return type of
.Fn dlfunc
is unspecified; applications must cast it to an appropriate function pointer