IRC Logs for #zfx


2025-04-03

06:11:06 Schrompf joined the channel
09:10:46 Biolunar: moin
09:15:06 Schrompf: grüße
09:16:33 Biolunar: Heute ist mein letzter Arbeitstag vor der Elternzeit \o/
09:16:43 Biolunar: (aber nur ein Monat frei)
09:17:12 Schrompf: ja cool
09:17:20 Schrompf: noch jede menge handovers
09:17:28 Schrompf: und dann ab zur familie!
11:44:49 Biolunar: Heute ist der erste Tag an dem ich mal den return value von memcpy verwendet habe
11:47:14 Schrompf: ui, gz
11:47:16 Schrompf: wofür?
11:49:30 Biolunar: Hab einen allokierten Buffer „mem“, der gefüllt in mein config struct soll. config->name.ptr = memcpy(mem, src, len);
11:49:56 Biolunar: Dann noch config->name.len = len; und fertig
11:50:19 Schrompf: memcpy returned den Pointer unverändert?
11:50:27 Biolunar: jo
11:50:31 Schrompf: krass
11:50:33 Schrompf: wusste ich nicht
11:50:43 Biolunar: Deshalb war mir nie bewusst warum man den return value braucht
11:51:30 Schrompf: ja, ne? Vor allem: es ist C! da ist es ja üblicherweise "0 on success, <0 on error, call errno() to retrieve the actual error"
11:51:50 Schrompf: weil der returncode noch nicht errorcode genug ist
11:52:12 Biolunar: naja die memory operationen können nie fehlschlagen
11:52:42 Schrompf: auf der waschschine deines opas aber wohohl!
11:53:49 Biolunar: und fuck errno
11:54:04 Schrompf: nur zur klarstellung, ich rede gerade C schlecht
11:57:16 Biolunar: Ich weiß du meinst es nicht so
11:57:24 Biolunar: Wir lieben C
12:16:33 Schrompf: jaaaa, wir lieben C
12:16:35 Schrompf: ok
12:16:37 Schrompf: gutgut
12:17:05 Schrompf: muss los, heute geht's mit dem Kinde ins SPAAAASSSBAAAAAD
14:21:46 Essex20 joined the channel
18:56:09 Magister joined the channel
21:33:19 Schrompf joined the channel