GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Tim Chase (gumnos@mastodon.bsd.cafe)'s status on Sunday, 07-Sep-2025 07:16:39 JSTTim ChaseTim Chase

    Today in POSIX fun courtesy of the remind(1) mailing-list (slightly modified for broader understandability):

    ⸻
    [There's] no way to know if you use a valid time zone name. That's because the POSIX API for setting a timezone is (I kid you not...):

    /* why use "UTC" when you can be in the Banana timezone*/
    const char* zone_name = "banana";
    setenv("TZ", zone_name, 1);
    tzset();

    and tzset() returns void...there's no possible error return from tzset()...not even errno. This is not one of POSIX's shining moments.
    ⸻

    🍌

    In conversationabout 9 months ago from mastodon.bsd.cafepermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.