-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTRAIN_00542.eml
45 lines (42 loc) · 1.43 KB
/
TRAIN_00542.eml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
NoneNone
> Tue=2C 13 Apr 2010 17:29:51 -0500 <[email protected]> wrote:
>=20
> On 2010-04-13 17:16=2C Stephen Powell wrote:
> > I realize that this is not a C forum=2C per se=2C but this is a Debian-=
specific
> > C question. I am trying to add support to the parted utility for CMS-f=
ormatted
> [snip]
> >=20
> > I know how to do this in PL/I=2C but despite having spent the last two =
hours
> > paging through a C language reference manual=2C I couldn't find any exa=
mples
> > of overlaying two structures. I did find reference to something called
> > a union=2C but I don't have enough knowledge to know what to do. Does
> > anyone know how to do this?
> >=20
>=20
> union is exactly what you need.
>=20
Yes thats absolutely right. Remember since C is a powerful=2C low level=2C =
and untyped programming language untagged unions are consider unsafe.
Good luck though!=20
> "I'm feeling lucky" sample c code union
>=20
> http://www.wellho.net/resources/ex.php4?item=3Dc209/union.c
>=20
> --=20
> Dissent is patriotic=2C remember?
>=20
>=20
> --=20
> To UNSUBSCRIBE=2C email to [email protected]=20
> with a subject of "unsubscribe". Trouble? Contact [email protected]=
.org
> Archive: http://lists.debian.org/[email protected]
>=20
=20
_________________________________________________________________
Hotmail & Messenger are available on your phone. Try now.
http://go.microsoft.com/?linkid=3D9724461=