From nobody Thu Oct 27 19:26:21 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mywds2yVQz4frtj for ; Thu, 27 Oct 2022 19:26:25 +0000 (UTC) (envelope-from montgomerysmithstephen@gmail.com) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mywdr3X4zz3DTW for ; Thu, 27 Oct 2022 19:26:24 +0000 (UTC) (envelope-from montgomerysmithstephen@gmail.com) Received: by mail-io1-xd30.google.com with SMTP id 63so2559342iov.8 for ; Thu, 27 Oct 2022 12:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:subject:content-language:to:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=6kPuhlhSjkEmkLLjEgMGTlQzO8mN/RCDsJS7tXhkyCY=; b=ijB9Ao0P01mo9l66P+7/RnJiycaVltnyD/Hu8CskoDNJlwMZhsFcy/DQrbYAkbplMP KZorfiNCW/mR/3b4H3HCV27LdrPqxjZ3YW6NSbgC3qoTDXU5j4Uo0NQJ+mB2OoG6Y09F koY81jcyuHgU10RikGNa0CNd1LgXNDE2hFTu2dniwXKHdWLnXV20+gfD8DBev8lHCIQ6 qfcGBBR/2/yqy9S62MbSgTjuqkC8YXmgFhnEhjSbnS5z1O1SYhgxnt66qSm6HRN/TLFj nRe2RqAnTW6n108ZW/xe0W4rLmqKWhW9bL5La7h5NhTT/kRUmehU5abzGvPCOVqblnBS 8PAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:content-language:to:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6kPuhlhSjkEmkLLjEgMGTlQzO8mN/RCDsJS7tXhkyCY=; b=r8ubZCoaecKcW+BKe9fOsm1ySPOfnRLZd9c3cqD6Wy+pq/qhq9k3dsHpmdidpeHJI6 cTRMF7QetSgrV7UmFEwWY5CNqiRrVMlN+TOndwJL2T4fG/PveErx8rM5FcYsYlHUbReF uNyKu1cHiwfzqO0MxNPMn5eXarIcxED22Op8HADAMsFCjrlemp8nzQ3XAQfCM5MWRO7u qfRUCTl9eImH+twvOvuq/RIX77V3v2ZAaFp+oFbyzRZ5++6UUylVBteOaNZjPu80+9Tv zyMZ2uIuTFGWzkxbdrnRlG5pM5H8R9dG6VOlo235KU6PdpkcDGdzoHcdSU2fQsP//SVo q4KQ== X-Gm-Message-State: ACrzQf250L6b+OVYcoif0U8buY7xfhc9nyJ2apEmu311MiS+3z2B93gQ QuXzbzyH8j1TpoAg7poZRBcmWwKn/Rs= X-Google-Smtp-Source: AMsMyM7k72t187kmsIA20kmgR5PMlLxhvRSEiYABtyJpqyDKCwYtPkV7c++EpOKyqrHfnzCbj/GFrg== X-Received: by 2002:a05:6638:3391:b0:374:1739:3795 with SMTP id h17-20020a056638339100b0037417393795mr13493069jav.87.1666898782770; Thu, 27 Oct 2022 12:26:22 -0700 (PDT) Received: from [10.8.6.92] ([161.130.189.147]) by smtp.gmail.com with ESMTPSA id e1-20020a022101000000b00356744215f6sm909572jaa.47.2022.10.27.12.26.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 12:26:22 -0700 (PDT) From: Stephen Montgomery-Smith X-Google-Original-From: Stephen Montgomery-Smith Message-ID: Date: Thu, 27 Oct 2022 14:26:21 -0500 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 To: freebsd-hackers Content-Language: en-US Subject: Equivalent of Linux timezone in FreeBSD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Mywdr3X4zz3DTW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ijB9Ao0P; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of montgomerysmithstephen@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=montgomerysmithstephen@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; MID_RHS_MATCH_TO(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d30:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N I am attempting to port code that uses an external variable called timezone, which is defined in the Linux file time.h as the number of seconds West of UTC for the current timezone. Is there an equivalent of this in FreeBSD or other BSDs? Is this the right group to ask this question? Thanks, Stephen