About: Offsetof

An Entity of Type: work, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

C's offsetof macro is an ANSI C library feature found in stddef.h. It evaluates to the offset (in bytes) of a given member within a struct or union type, an expression of type size_t. The offsetof macro takes two parameters, the first being a structure name, and the second being the name of a member within the structure. It cannot be described as a C prototype.

Property Value
dbo:abstract
  • C's offsetof macro is an ANSI C library feature found in stddef.h. It evaluates to the offset (in bytes) of a given member within a struct or union type, an expression of type size_t. The offsetof macro takes two parameters, the first being a structure name, and the second being the name of a member within the structure. It cannot be described as a C prototype. (en)
  • offsetof é uma macro da biblioteca ANSI C declarada em <a href="/wiki/Stddef.h" title="Stddef.h">stddef.h</a>. Ela fornece o offset de um membro de uma estrutura ou union em bytes com tipo size_t. Recebe dois parâmetros, o primeiro é o nome da estrutura e o segundo é o nome do membro da estrutura. (pt)
  • C语言的offsetof宏,是定义在stddef.h。用于求出一个struct或union数据类型的给定成员的类型的字节偏移值。offsetof宏有两个参数,分别是结构名与结构内的成员名。不能声明为C原型。 (zh)
dbo:wikiPageID
  • 11866723 (xsd:integer)
dbo:wikiPageLength
  • 8169 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1052498292 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • C's offsetof macro is an ANSI C library feature found in stddef.h. It evaluates to the offset (in bytes) of a given member within a struct or union type, an expression of type size_t. The offsetof macro takes two parameters, the first being a structure name, and the second being the name of a member within the structure. It cannot be described as a C prototype. (en)
  • offsetof é uma macro da biblioteca ANSI C declarada em <a href="/wiki/Stddef.h" title="Stddef.h">stddef.h</a>. Ela fornece o offset de um membro de uma estrutura ou union em bytes com tipo size_t. Recebe dois parâmetros, o primeiro é o nome da estrutura e o segundo é o nome do membro da estrutura. (pt)
  • C语言的offsetof宏,是定义在stddef.h。用于求出一个struct或union数据类型的给定成员的类型的字节偏移值。offsetof宏有两个参数,分别是结构名与结构内的成员名。不能声明为C原型。 (zh)
rdfs:label
  • Offsetof (en)
  • Offsetof (pt)
  • Offsetof (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License