<div dir="ltr"><div>Hello,</div><div> </div><div> </div><div>when I make new commands, sometimes I do not add functions to lib.c but make new library,</div><div> </div><div>because some functions can be categorized according to usage such as network or file system,</div>
<div> </div><div>and it makes <span lang="en">maintenance easier.</span></div><div> </div><div>In my case, I made lib/inetutil.c library for ping, ping6, netstat, ifconfig and so on.</div><div>(Now only ifconfig is contributed, but I'm ready to contribute other network features.)</div>
<div> </div><div>But making new library is likely to have an impact on toybox infra or structure.</div><div> </div><div>so I'd like to know which is better making new library or adding functions to lib.c?</div><div> </div>
<div> </div><div>Thanks.</div><div> </div><div>Kyungwan Han.</div><div> </div><div> </div><div> </div></div>