Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 2 hours ago

How to Use Snprintf

bernsteinbear.com

external-link
message-square
0
fedilink
1
external-link

How to Use Snprintf

bernsteinbear.com

RSS BotMB to Hacker NewsEnglish · 2 hours ago
message-square
0
fedilink
How to use snprintf
bernsteinbear.com
external-link
The sprintf family of functions (sprintf, snprintf, vsnprintf, …) have this little-known feature to what size your buffer should be. In cases where you don’t have a fixed upper bound, this is really useful.

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 400 users / day
  • 1.56K users / week
  • 4.2K users / month
  • 9.58K users / 6 months
  • 2 local subscribers
  • 2.37K subscribers
  • 28.9K Posts
  • 11.5K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org