cvs commit: src/include unistd.h src/lib/libc/gen Makefile.inc feature_present.3 feature_present.c

John Baldwin jhb at FreeBSD.org
Thu Jan 10 14:11:21 PST 2008


jhb         2008-01-10 22:11:21 UTC

  FreeBSD src repository

  Modified files:
    include              unistd.h 
    lib/libc/gen         Makefile.inc 
  Added files:
    lib/libc/gen         feature_present.3 feature_present.c 
  Log:
  Add a feature_present(3) function which checks to see if a named kernel
  feature is present by checking the kern.features sysctl MIB.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.81      +1 -0      src/include/unistd.h
  1.130     +3 -2      src/lib/libc/gen/Makefile.inc
  1.1       +72 -0     src/lib/libc/gen/feature_present.3 (new)
  1.1       +62 -0     src/lib/libc/gen/feature_present.c (new)


More information about the cvs-src mailing list