Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #840
Difficulty: Medium
Apache2 has supported WebSockets since 2013.
True or False?
Linux & Unix Commands - Search Man Pages

xfree(3x11) [osf1 man page]

XFree(3X11)															       XFree(3X11)

XFree - free client data SYNOPSIS
XFree(data) void *data; ARGUMENTS
Specifies the data that is to be freed. DESCRIPTION
The XFree function is a general-purpose Xlib routine that frees the specified data. You must use it to free any objects that were allocated by Xlib, unless an alternate function is explicitly specified for the object. A NULL pointer cannot be passed to this function. SEE ALSO
Xlib -- C Language X Interface XFree(3X11)

Check Out this Related Man Page

XAllocIconSize(3X11)													      XAllocIconSize(3X11)

XAllocIconSize, XSetIconSizes, XGetIconSizes, XIconSize - allocate icon size structure and set or read a window's WM_ICON_SIZES property SYNOPSIS
XIconSize *XAllocIconSize() XSetIconSizes(display, w, size_list, count) Display *display; Window w; XIconSize *size_list; int count; Status XGetIconSizes(display, w, size_list_return, count_return) Display *display; Window w; XIconSize **size_list_return; int *count_return; ARGUMENTS
Specifies the connection to the X server. Specifies the number of items in the size list. Returns the number of items in the size list. Specifies the size list. Returns the size list. Specifies the window. DESCRIPTION
The XAllocIconSize function allocates and returns a pointer to a XIconSize structure. Note that all fields in the XIconSize structure are initially set to zero. If insufficient memory is available, XAllocIconSize returns NULL. To free the memory allocated to this structure, use XFree. The XSetIconSizes function is used only by window managers to set the supported icon sizes. XSetIconSizes can generate BadAlloc and BadWindow errors. The XGetIconSizes function returns zero if a window manager has not set icon sizes; otherwise, it return nonzero. XGetIconSizes should be called by an application that wants to find out what icon sizes would be most appreciated by the window manager under which the application is running. The application should then use XSetWMHints to supply the window manager with an icon pixmap or window in one of the supported sizes. To free the data allocated in size_list_return, use XFree. XGetIconSizes can generate a BadWindow error. PROPERTIES
The window manager may set this property on the root window to specify the icon sizes it supports. The C type of this property is XIcon- Size. STRUCTURES
The XIconSize structure contains: typedef struct { int min_width, min_height; int max_width, max_height; int width_inc, height_inc; } XIconSize; The width_inc and height_inc members define an arithmetic progression of sizes (minimum to maximum) that represent the supported icon sizes. DIAGNOSTICS
The server failed to allocate the requested resource or server memory. A value for a Window argument does not name a defined Window. SEE ALSO
XAllocClassHint(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11), XFree(3X11), XSetCommand(3X11), XSetTransientForHint(3X11), XSet- TextProperty(3X11), XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11), XSetWMName(3X11), XSetWMProperties(3X11), XSetWMProtocols(3X11), XStringListToTextProperty(3X11) Xlib -- C Language X Interface XAllocIconSize(3X11)

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Grafikdriver for xfree40

I have a Problem. I installed freebsd 4.3 on my computer. I have got a Geeforce 2 MX from Nvidia and on the nvidia homepage are only drivers for linux and somthing other strange. Can I use this drivers? I don't think so, the kernel is different between linux to unix, so what can I do? ... (1 Reply)
Discussion started by: beibaoren
1 Replies

2. UNIX for Dummies Questions & Answers

xfree86 configuration

I've been trying to configure XFree86, and the first times that I have, it will only run at 320x? resolution.. I have an ATI card, and I've tried using the /stand/sysinstall graphical configuration method, and I've tried xf86config as well, both render the same results. that was before i... (3 Replies)
Discussion started by: adn
3 Replies

3. Programming


So where do we post questions about developing for X? Or do we just not do that here? (2 Replies)
Discussion started by: Gekko
2 Replies

4. UNIX Desktop Questions & Answers

XFREE86 4.2 question

Hi folkss... I just install Freebsd 4.5 mini disk which install only the core FREEBSD system nothing else. I then want to install KDE 3.0 so I install XFREE86 4.2 and I installed both of these programs successfully with pkg_add "filename.tgz" I also install wrapper.tgz for "startx"... (1 Reply)
Discussion started by: helpme2
1 Replies

5. UNIX Desktop Questions & Answers

Installing XFREE86 4.2 question

Hi folksss.. I will ask similiar to my previous post. Have anyone successfully install XFree86 ver. 4.2 on FREEBSD 4.5 from scratch ??? If U do, please provide step by step how U do it. Do U use graphic user interface to setup the hardware configuration or DOS configuration ? I... (2 Replies)
Discussion started by: helpme2
2 Replies

6. UNIX for Dummies Questions & Answers

Darwin + XFree86 FTP Client

Does anyone know of a decent Darwin + XFree86 FT client package? Obviously a precompiled file is better than binary, but I'll take what I can get. (10 Replies)
Discussion started by: chenly
10 Replies

7. UNIX for Dummies Questions & Answers

compiling XFRee86 4.2.0

i am currently trying to compile XFree86 under redhat 7.3. i am used to ./configure make make install, but i know that xfree86 is very different. what are the basic steps for building it. i already have read the documentation, but it wasn't of much help. it was erroring out on the imake. i don't... (1 Reply)
Discussion started by: choasforages
1 Replies

8. UNIX Desktop Questions & Answers

ATI && XFree86 (Linux)

Anyone who have any ideas how-to make X faster. I have a ATI Rage Mobility P/M AGP 2x card and I wanto get it fast, mostly for movie playback and so. Is there OpenGL and GLX support? regards Esaia (1 Reply)
Discussion started by: Esaia
1 Replies

9. UNIX Desktop Questions & Answers

X.Org and XFree86

X.Org just released a new version of their X (X11R6.7). Besides Liscense stuff, what is better about then XFree? What is better about XFree then Also: Will my fglrx (ATI) or nvidia drivers (designed for XFree86 4.3) work on (2 Replies)
Discussion started by: punkrockguy318
2 Replies

10. UNIX for Dummies Questions & Answers

X.Org and XFree86

(2 Replies)
Discussion started by: punkrockguy318
2 Replies

11. BSD

Problems with Xfree86

Hi to all! I'm very novice in Unix/Linux. I installed FreeBSD 4.10 in my pentium II 450mhz 64MB 4.300GB more than 5 times and the error continues... In the line mode i type "startx" (to enter in X)...but show me a message : FATAL SERVER ERROR NO SCREENS FOUND X CONNECTION TO :0.0... (6 Replies)
Discussion started by: israel
6 Replies

12. BSD

again XFree86

hi everybody i installed FreeBSD 5.x on a box with a video card Diamond SpeedStar A90 and a Fujitsu Siemens Monitor B772-1 when i do "startx" it gives me something like this: fatal error: no devices detected no screen detected i'm lost...i don't know what to... (3 Replies)
Discussion started by: hmaiida
3 Replies

13. BSD

XFree86 4.5 problem

Hello, i have a S3 Trio64V+ card. I installed last release of XFree under FreeBSD 5.4. I do xf86config, but when i try startx i have this error: nsinternal# startx XFree86 Version 4.5.0 Release Date: 16 March 2005 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD... (1 Reply)
Discussion started by: jamesf
1 Replies

14. UNIX Desktop Questions & Answers

X11 / Xorg / XFree modules documentation

It is possible to load many modules using xorg.conf, for example: Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSectionIs there some online/ps/pdf documentation about each of... (2 Replies)
Discussion started by: vermaden
2 Replies

15. AIX

TUNING: fre, minfree, and maxfree relationship

Here's a good question about tuning. Why does my system continuously scan (sr) to free up pages when the amount of "fre" pages is well ABOVE my minfree and maxfree settings: $ vmo -a | grep free maxfree = 2560 minfree = 2048 $ Here is sample output from a... (2 Replies)
Discussion started by: kah00na
2 Replies

Featured Tech Videos