literature.cafe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 2 个月前

ultimate storage hack

sh.itjust.works

message-square
80
link
fedilink
868

ultimate storage hack

sh.itjust.works

einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 2 个月前
message-square
80
link
fedilink
  • Brahvim Bhaktvatsal@lemmy.kde.social
    link
    fedilink
    isiZulu
    arrow-up
    1
    ·
    edit-2
    2 个月前

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

    • barsoap@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 个月前

      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
        ·
        2 个月前

        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.

  • 529 users / day
  • 3.71K users / week
  • 8.76K users / month
  • 19.4K users / 6 months
  • 16 local subscribers
  • 24.7K subscribers
  • 1.53K Posts
  • 52.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org