libosmocore[master]: utils: add osmo_strscpy() macro to use sizeof(dst)

Holger Freyther gerrit-no-reply at
Tue Jan 17 15:58:27 UTC 2017

Patch Set 5: Code-Review-1

Linux's strscpy has different semantic/parameters. Not sure if you want to clash here. You might also implement it as a static inline instead of a macro (or add () around the parameters).

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie973fc51835066540eba7ed2946ddf33a268b022
Gerrit-PatchSet: 5
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Holger Freyther <holger at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at>
Gerrit-HasComments: No

More information about the gerrit-log mailing list