Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys sockaddr_format now returns the number of chars writ...
details: https://anonhg.NetBSD.org/src/rev/bcaf559c05a3
branches: trunk
changeset: 334703:bcaf559c05a3
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 02 19:38:16 2014 +0000
description:
sockaddr_format now returns the number of chars written.
diffstat:
sys/sys/socket.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a280517e46ec -r bcaf559c05a3 sys/sys/socket.h
--- a/sys/sys/socket.h Tue Dec 02 19:36:58 2014 +0000
+++ b/sys/sys/socket.h Tue Dec 02 19:38:16 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socket.h,v 1.110 2014/05/28 14:55:16 christos Exp $ */
+/* $NetBSD: socket.h,v 1.111 2014/12/02 19:38:16 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -605,7 +605,7 @@
const void *sockaddr_anyaddr(const struct sockaddr *, socklen_t *);
int sockaddr_cmp(const struct sockaddr *, const struct sockaddr *);
struct sockaddr *sockaddr_dup(const struct sockaddr *, int);
-void sockaddr_format(const struct sockaddr *, char *, size_t);
+int sockaddr_format(const struct sockaddr *, char *, size_t);
void sockaddr_free(struct sockaddr *);
__END_DECLS
#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index