Skip to content

Commit cfd8866

Browse files
committed
cdefs.h: Add warning about defining __BSD_VISIBLE and friends
Undefined things happen if users define these macros, be more explicit about documenting that. Sponsored by: Netflix
1 parent 6fc164c commit cfd8866

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

share/man/man9/cdefs.9

+2-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ are also included.
401401
These macros are set by
402402
.Nm
403403
to control the visibility of different standards.
404-
Users should not use these, but they are documented here for developers.
404+
Users must not define these, and doing so will produced undefined results.
405+
They are documented here for developers working on system's header files.
405406
.Bl -column "---------------"
406407
.It Dv __XSI_VISIBLE Ta Restricts the visibility of XOPEN Single Unix Standard version.
407408
Possible values are 500, 600, 700 or 800, corresponding to Issue 5, 6, 7, or 8

0 commit comments

Comments
 (0)