git: kernel/libkern: Add strnlen() (from FreeBSD) and use it.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Nov 22 10:10:02 PST 2015


commit 737a6fa55c1716643bb12afb0363decc65975ffe
Author: Sascha Wildner <saw at online.de>
Date:   Sun Nov 22 18:19:19 2015 +0100

    kernel/libkern: Add strnlen() (from FreeBSD) and use it.

Summary of changes:
 sys/conf/files                             |  1 +
 {lib/libc/string => sys/libkern}/strnlen.c |  4 ++--
 sys/net/sppp/if_spppsubr.c                 | 31 ++++++++++--------------------
 sys/sys/libkern.h                          |  1 +
 4 files changed, 14 insertions(+), 23 deletions(-)
 copy {lib/libc/string => sys/libkern}/strnlen.c (93%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/737a6fa55c1716643bb12afb0363decc65975ffe


-- 
DragonFly BSD source repository



More information about the Commits mailing list