lo_arg(3)

πŸ“¦
version 0.34 Β· 2 versions
, in fedora 44

πŸ’– lo_arg πŸ’–

okay bestie, gather round, because today we're talking about lo_arg β€” she's a union used to read values from incoming messages, and she lives in the Library Functions Manual section of your friendly neighbourhood man pages. yes she's a union. yes she's iconic. no cap. πŸ’…


✨ NAME ✨

lo_arg β€” union used to read values from incoming messages.


🌸 SYNOPSIS 🌸

#include <lo_osc_types.h>

πŸŽ€ Data Fields πŸŽ€

  • int32_t i
  • int32_t i32
  • int64_t h
  • int64_t i64
  • float f
  • float f32
  • double d
  • double f64
  • char s
  • char S
  • unsigned char c
  • uint8_t m [4]
  • lo_timetag t
  • struct { } blob

πŸ¦‹ Detailed Description πŸ¦‹

Union used to read values from incoming messages. that's her whole job. she reads. she serves. 🫢

Types can generally be read using argv[n]->t where n is the argument number and t is the type character β€” with the exception of strings and symbols, which must be read with &argv[n]->t. yes bestie, the ampersand matters, do not skip her, she will humble you 😭

Definition at line 104 of file lo_osc_types.h.


🌈 Field Documentation 🌈

πŸ“ struct { ... } lo_arg::blob

Blob

πŸ’œ unsigned char lo_arg::c

Standard C, 8 bit, char.

Definition at line 127 of file lo_osc_types.h.

⭐ double lo_arg::d

64 bit IEEE-754 double.

Definition at line 118 of file lo_osc_types.h.

πŸ”₯ float lo_arg::f

32 bit IEEE-754 float.

Definition at line 114 of file lo_osc_types.h.

🧚 float lo_arg::f32

32 bit IEEE-754 float.

Definition at line 116 of file lo_osc_types.h.

πŸŽ€ double lo_arg::f64

64 bit IEEE-754 double.

Definition at line 120 of file lo_osc_types.h.

πŸ’– int64_t lo_arg::h

64 bit signed integer.

Definition at line 110 of file lo_osc_types.h.

✨ int32_t lo_arg::i

32 bit signed integer.

Definition at line 106 of file lo_osc_types.h.

🌸 int32_t lo_arg::i32

32 bit signed integer.

Definition at line 108 of file lo_osc_types.h.

πŸ¦‹ int64_t lo_arg::i64

64 bit signed integer.

Definition at line 112 of file lo_osc_types.h.

πŸ‘‘ uint8_t lo_arg::m[4]

A 4 byte MIDI packet.

Definition at line 129 of file lo_osc_types.h.

🫢 char lo_arg::S

Standard C, NULL terminated, string. Used in systems which distinguish strings and symbols.

Definition at line 125 of file lo_osc_types.h.

πŸ’… char lo_arg::s

Standard C, NULL terminated string.

Definition at line 122 of file lo_osc_types.h.

πŸ“ lo_timetag lo_arg::t

OSC TimeTag value.

Definition at line 131 of file lo_osc_types.h.


πŸ’« Author πŸ’«

Generated automatically by Doxygen for liblo from the source code.

bestie this one wasn't even hand-written by a human, she was birthed by Doxygen straight out of the source code. machine-made and still eating. we love to see it. πŸ€–βœ¨

okay that's the whole page, love u, go read your OSC messages responsibly πŸ’–

liblo β€” Version 0.34 β€” lo_arg(3) πŸ¦‹ that's the version and the manual tag bestie, take it, it's yours now 🫢

πŸ“¦ where this page comes from