Index: lib/libc/sys/getdtablesize.2 =================================================================== --- lib/libc/sys/getdtablesize.2 +++ lib/libc/sys/getdtablesize.2 @@ -28,7 +28,7 @@ .\" @(#)getdtablesize.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd April 24, 2013 +.Dd August 31, 2016 .Dt GETDTABLESIZE 2 .Os .Sh NAME @@ -49,6 +49,11 @@ is the return value minus one. Existing file descriptor numbers may be higher if the limit was lowered after they were opened. +.Pp +This is a legacy interface. +Applications should use +.Xr getrlimit 2 +instead. .Sh SEE ALSO .Xr close 2 , .Xr closefrom 2 ,