LQX Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 3 days ago

ultimate storage hack

sh.itjust.works

message-square
84
link
fedilink
866

ultimate storage hack

sh.itjust.works

einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 3 days ago
message-square
84
link
fedilink
  • Brahvim Bhaktvatsal@lemmy.kde.social
    link
    fedilink
    isiZulu
    arrow-up
    1
    ·
    edit-2
    2 days ago

    …Just asking, just asking: Why is the default FILENAME_MAX on Linux/glibc 4096?

    • barsoap@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Because PATH_MAX is? Also because it’s a 4k page.

      FILENAME_MAX is not safe to use for buffer allocations btw it could be INT_MAX.

      • Brahvim Bhaktvatsal@lemmy.kde.social
        link
        fedilink
        isiZulu
        arrow-up
        1
        ·
        10 hours ago

        Thanks! Got an answer and not 200 downvotes. This is why I love Lemm-Lemm.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.32K users / day
  • 4.32K users / week
  • 8.35K users / month
  • 16.7K users / 6 months
  • 1 local subscriber
  • 23.2K subscribers
  • 675 Posts
  • 12.8K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org